You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/06 09:30:10 UTC

[GitHub] [dolphinscheduler] lizhongshuai opened a new issue, #10808: [Bug] [Module Name] Bug title

lizhongshuai opened a new issue, #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808

   ### 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
   
   使用海豚调度器调度flinksql,建表语句可以正常执行,插入语句会报错
   错误信息:
   TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.flink.FlinkTask:[63] -  -> [ERROR] Could not execute SQL statement. Reason:
    java.lang.IllegalStateException: No Executor found. Please make sure to export the HADOOP_CLASSPATH environment variable or have hadoop in your classpath. For more information refer to the "Deployment" section of the official Apache Flink documentation.
    
    Shutting down the session...
    done.
   
   ### What you expected to happen
   
   写一个比较详细的flinksql调度过程  包括flink的版本 和所需要的环境
   
   ### How to reproduce
   
   在MySQL中创建三张表  字段一致  其中两张表中插入数据 然后写flinksql  同样是创建三张一样的表 关联到mysql的表 然后查询有数据的两张表插入到第三张没有数据的表   这样的flinksql写完之后放到海豚调度器上进行调度
   
   ### Anything else
   
   无
   
   ### Version
   
   3.0.0-beta-2
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10808: [Bug] [Module Name] Bug title

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1176008575

   ### 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
   
   Use the dolphin scheduler to schedule flinksql, the table building statement can be executed normally, and the insert statement will report an error
   Error message:
   TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.flink.FlinkTask:[63] - -> [31;1m[ERROR] Could not execute SQL statement. Reason:
    java.lang.IllegalStateException: No Executor found. Please make sure to export the HADOOP_CLASSPATH environment variable or have hadoop in your classpath. For more information refer to the "Deployment" section of the official Apache Flink documentation. [0m
    
    Shutting down the session...
    done.
   
   ### What you expected to happen
   
   Write a more detailed flinksql scheduling process, including the version of flink and the required environment
   
   ### How to reproduce
   
   Create three tables in MySQL with the same fields, insert data into two tables, and then write flinksql. Similarly, create three identical tables and associate them with the mysql table. Then query the two tables with data and insert them into the third table without data. Such flinksql After writing, put it on the dolphin scheduler for scheduling
   
   ### Anything else
   
   none
   
   ### Version
   
   3.0.0-beta-2
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] caishunfeng commented on issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1189953112

   >Please make sure to export the HADOOP_CLASSPATH environment variable or have hadoop in your classpath
   
   Hi @lizhongshuai Please check the env config in `dolphinscheduler_env.sh`


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] EricGao888 commented on issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
EricGao888 commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1290148098

   Solved by https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1198755028


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10808: [Bug] [Module Name] Bug title

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1176008804

   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 [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] EricGao888 closed issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
EricGao888 closed issue #10808: [Bug] [FlinkSql] flinksql execute error
URL: https://github.com/apache/dolphinscheduler/issues/10808


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] caishunfeng commented on issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1189954365

   BTW, please add the sql detail of `how to reproduce`


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hstdream commented on issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
hstdream commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1198755028

   There are two ways to solve this problem:
   
   1. add export HADOOP_CLASSPATH=`hadoop classpath` 
   
   2. In flink/lib add flink-shaded-hadoop-2-uber.jar


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] lizhongshuai commented on issue #10808: [Bug] [FlinkSql] flinksql execute error

Posted by GitBox <gi...@apache.org>.
lizhongshuai commented on issue #10808:
URL: https://github.com/apache/dolphinscheduler/issues/10808#issuecomment-1274380987

   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人:                                                                                                                        "apache/dolphinscheduler"                                                                                    ***@***.***&gt;;
   发送时间:&nbsp;2022年7月6日(星期三) 下午5:39
   ***@***.***&gt;;
   ***@***.******@***.***&gt;;
   主题:&nbsp;Re: [apache/dolphinscheduler] [Bug] [Module Name] Bug title  (Issue #10808)
   
   
   
   
   
    
   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 join our slack and send your question to channel #troubleshooting
      
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: ***@***.***&gt;


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org