github-actions[bot] commented on issue #7431:
URL: 
https://github.com/apache/dolphinscheduler/issues/7431#issuecomment-994660542


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) 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](https://user-images.githubusercontent.com/52704749/146170969-9378d211-1b83-46f5-9972-f10ffb30263b.png)
   
   
![image](https://user-images.githubusercontent.com/52704749/146171034-b294d4b9-7533-4796-b902-9b807af9281c.png)
   
   
![image](https://user-images.githubusercontent.com/52704749/146171101-79d5e9c2-8261-4f1d-9671-44321ed4f04b.png)
   
   
   ### 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
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to