dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Couldn't find log associated with operation handle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier()=2f5f2d4e-3b1e-41ab-8be4-109289c0f8c9]

Open 1205823696 opened this issue 4 years ago • 3 comments

Search before asking

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

What happened

HIVE :2.1.1+CDH6.2.1 Dolphinscheduler : 1.3.8

There was an exception log on the running task but the task ended normally. I have configured related parameters in Hive as shown in the following figure image

image

image

What you expected to happen

Puzzled for a long time

How to reproduce

It happens every time you run it

My script

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

create table if not exists hive.dwb_txt_mge_jrcsv_teds_fdt ( mobile_id string comment ' ' ,event int comment '' )comment '金融_理财_股票_机构策略' partitioned by(pt string comment'分区字段YYYYMMDD') row format delimited fields terminated by '\t' stored as orc;

insert overwrite table hive.dwb_txt_mge_jrcsv_teds_fdt partition (pt='${data}') select name as mobile_id ,sum as event from hive.jrcsv where sum > 0 ; " if [[ $? != 0 ]];then echo "sql error 自动退出" exit 1 fi echo "运行成功"

echo "Good bye!" exit 0

Anything else

This occurs every time you run the script

Version

1.3.8

Are you willing to submit PR?

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

Code of Conduct

1205823696 avatar Dec 15 '21 10:12 1205823696

Search before asking

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

What happened

HIVE :2.1.1+CDH6.2.1 Dolphinscheduler : 1.3.8

There was an exception log on the running task but the task ended normally. I have configured related parameters in Hive as shown in the following figure image

image

image

What you expected to happen

Puzzled for a long time

How to reproduce

It happens every time you run it

My script

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

create table if not exists hive.dwb_txt_mge_jrcsv_teds_fdt ( mobile_id string comment ' ' ,event int comment '' )comment '金融_理财_股票_机构策略' partitioned by(pt string comment'分区字段YYYYMMDD') row format delimited fields terminated by '\t' stored as orc;

insert overwrite table hive.dwb_txt_mge_jrcsv_teds_fdt partition (pt='${data}') select name as mobile_id ,sum as event from hive.jrcsv where sum > 0 ; " if [[ $? != 0 ]];then echo "sql error 自动退出" exit 1 fi echo "运行成功"

echo "Good bye!" exit 0

Anything else

This occurs every time you run the script

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 Dec 15 '21 10:12 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 Dec 15 '21 10:12 github-actions[bot]

Modified the shell script

Beeline -u "JDBC: hive2: //// cDH01:10000 //hive" -e" --> Beeline -u "JDBC: hive2: //// cDH01:10000 //default" -e"

There's been another mistake [HiveServer2 to Remote Spark Driver Connection] Closing RPC channel with 1 outstanding RPCs. image

1205823696 avatar Dec 16 '21 04:12 1205823696