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

   ### 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
   
   dolphionSchedule跑hive的脚本报错;
   [ERROR] 2023-05-24 09:29:41.636 TaskLogLogger-class 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[209] - execute sql error: 
Error while processing statement: FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.mr.MapRedTask. Could not find status of 
job:job_1679552147829_73789
   [ERROR] 2023-05-24 09:29:41.651 TaskLogLogger-class 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[363] - close prepared 
statement error : org.apache.thrift.transport.TTransportException: 
java.net.SocketException: Socket closed
   java.sql.SQLException: org.apache.thrift.transport.TTransportException: 
java.net.SocketException: Socket closed
        at 
org.apache.hive.jdbc.HiveStatement.closeClientOperation(HiveStatement.java:211)
        at org.apache.hive.jdbc.HiveStatement.close(HiveStatement.java:228)
        at com.zaxxer.hikari.pool.ProxyStatement.close(ProxyStatement.java:75)
        at 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask.close(SqlTask.java:361)
        at 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:212)
        at 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:154)
        at 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:189)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
        at 
com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
        at 
com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
        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)
   Caused by: org.apache.thrift.transport.TTransportException: 
java.net.SocketException: Socket closed
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:161)
        at 
org.apache.thrift.transport.TSaslTransport.flush(TSaslTransport.java:501)
        at 
org.apache.thrift.transport.TSaslClientTransport.flush(TSaslClientTransport.java:37)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
        at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
        at 
org.apache.hive.service.rpc.thrift.TCLIService$Client.send_CloseOperation(TCLIService.java:507)
        at 
org.apache.hive.service.rpc.thrift.TCLIService$Client.CloseOperation(TCLIService.java:499)
        at sun.reflect.GeneratedMethodAccessor246.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1426)
        at com.sun.proxy.$Proxy164.CloseOperation(Unknown Source)
        at 
org.apache.hive.jdbc.HiveStatement.closeClientOperation(HiveStatement.java:205)
        ... 13 common frames omitted
   Caused by: java.net.SocketException: Socket closed
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at 
org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:159)
        ... 25 common frames omitted
   [ERROR] 2023-05-24 09:29:41.651 TaskLogLogger-class 
org.apache.dolphinscheduler.plugin.task.sql.SqlTask:[160] - sql task error: 
java.sql.SQLException: Error while processing statement: FAILED: Execution 
Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. Could 
not find status of job:job_1679552147829_73789
   
   ### What you expected to happen
   
   !!!
   
   ### How to reproduce
   
   !!!
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.x
   
   ### 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: [email protected]

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

Reply via email to