aisuixin commented on issue #2425: 1.2.1 版本执行shell脚本日志显示成功,网页显示失败,这是什么原因导致的
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/2425#issuecomment-613785812
 
 
   [ERROR] 2020-04-15 09:55:41.433 
org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - null: Name or service 
not known
   java.net.UnknownHostException: null: Name or service not known
           at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
           at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
           at 
java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
           at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
           at java.net.InetAddress.getAllByName(InetAddress.java:1193)
           at java.net.InetAddress.getAllByName(InetAddress.java:1127)
           at 
org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
           at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
           at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
           at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
           at 
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
           at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
           at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
           at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
           at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
           at 
org.apache.dolphinscheduler.common.utils.HttpUtils.get(HttpUtils.java:60)
           at 
org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:378)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:39
   6)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.updateState(AbstractCommandExecutor.java:241)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:170)
           at 
org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:105)
           at 
org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread.run(TaskScheduleThread.java:147)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           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)
   [ERROR] 2020-04-15 09:55:41.433  - [taskAppId=TASK-5-24-13]:[410] - yarn 
applications: [application_1586785782130_0025]  status failed
    : null
   java.lang.NullPointerException: null
           at 
org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:381)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:39
   6)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.updateState(AbstractCommandExecutor.java:241)
           at 
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:170)
           at 
org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:105)
           at 
org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread.run(TaskScheduleThread.java:147)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           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] 2020-04-15 09:55:41.433 
org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread:[161] - 
task instance id : 13,task
   final status : FAILURE

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to