dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

FAILED: ParseException line 9:22 cannot recognize input near 'hbase' '.' 'columns' in table properties list

Open 1205823696 opened this issue 4 years ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Hello, I have a problem when using it. Thank you for your reply An error occurs when creating an associated hbase table in Hive, but the execution statement runs properly in Hue and fails to run in DolphinScheduler

FAILED: ParseException line 9:22 cannot recognize input near 'hbase' '.' 'columns' in table properties list

22d478b5e3bae643feacb145068c8dd

Dolphinscheduler executes the following script

#!/bin/bash source /etc/profile source ~/.bash_profile beeline -u "jdbc:hive2:////stgbigdata1:10000" -e"

create table IF NOT EXISTS hbase.hbase_store_device_online_fdt( rowkey string ,store_id string ,online string ,offline string ,total int ) stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties ("hbase.columns.mapping" = ":key,log:store_id,log:online,log:offline,log:total") tblproperties ("hbase.table.name" = "store_device_online");

" if [[ $? != 0 ]];then echo "sql error 自动退出" exit 1 fi echo "运行成功"

echo "Good bye!" exit 0

What you expected to happen

How do I modify the create statement

How to reproduce

Dolphinscheduler executes thescript

Anything else

No response

Version

1.3.8

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

1205823696 avatar Feb 16 '22 08:02 1205823696

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Hello, I have a problem when using it. Thank you for your reply An error occurs when creating an associated hbase table in Hive, but the execution statement runs properly in Hue and fails to run in DolphinScheduler

FAILED: ParseException line 9:22 cannot recognize input near 'hbase' '.' 'columns' in table properties list

22d478b5e3bae643feacb145068c8dd

Dolphinscheduler executes the following script

#!/bin/bash source /etc/profile source ~/.bash_profile beeline -u "jdbc:hive2:////stgbigdata1:10000" -e"

create table IF NOT EXISTS hbase.hbase_store_device_online_fdt( rowkey string ,store_id string ,online string ,offline string ,total int ) stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties ("hbase.columns.mapping" = ":key,log:store_id,log:online,log:offline,log:total") tblproperties ("hbase.table.name" = "store_device_online");

" if [[ $? != 0 ]];then echo "sql error 自动退出" exit 1 fi echo "运行成功"

echo "Good bye!" exit 0

What you expected to happen

How do I modify the create statement

How to reproduce

Dolphinscheduler executes thescript

Anything else

No response

Version

1.3.8

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

github-actions[bot] avatar Feb 16 '22 08:02 github-actions[bot]

Hi:

  • Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to [email protected].

github-actions[bot] avatar Feb 16 '22 08:02 github-actions[bot]

image

This is a quote pairing problem, not a bug with dolphinscheduler

ronyang1985 avatar Feb 16 '22 15:02 ronyang1985

I added the escape and it's ready to run, thank you

1205823696 avatar Feb 17 '22 01:02 1205823696