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/01/07 08:32:51 UTC

[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #7878: [Bug] [task-api] java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration

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


   ### 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 sql任务时报错,Worker报错日志如下:
   
   [ERROR] 2022-01-07 16:07:59.425 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[210] - task scheduler failure
   java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
   	at org.apache.dolphinscheduler.plugin.task.util.CommonUtils.loadKerberosConf(CommonUtils.java:84)
   	at org.apache.dolphinscheduler.plugin.task.datasource.hive.HiveDatasourceProcessor.getConnection(HiveDatasourceProcessor.java:129)
   	at org.apache.dolphinscheduler.plugin.task.datasource.DatasourceUtil.getConnection(DatasourceUtil.java:59)
   	at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:184)
   	at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:155)
   	at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:192)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
   	at java.util.concurrent.FutureTask.run(FutureTask.java)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   [INFO] 2022-01-07 16:09:44.639 org.apache.dolphinscheduler.service.log.LogClientService:[117] - view log path D:\projects\dolphinscheduler\logs\1051736946229248_1\165\245.log
   [INFO] 2022-01-07 16:09:44.642 org.apache.dolphinscheduler.remote.NettyRemotingClient:[390] - netty client closed
   
   
   
   ![Uploading image.png…]()
   
   
   ### What you expected to happen
   
   normal run
   
   ### How to reproduce
   
   ![image](https://user-images.githubusercontent.com/28626264/148515355-318f574d-9141-4cf9-9626-bcc374c7ba8c.png)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.1
   
   ### 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: commits-unsubscribe@dolphinscheduler.apache.org

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