dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

SHELL process cat file report error, please fix

Open suncf1985 opened this issue 5 years ago • 7 comments

When you use the cat command to view the text content, the content includes the following content, then the node is an error node, and it has nothing to do with the process at this time. Please verify

文件内容如下,就是一个正常的文本文件,该 文本为hive 或MR 产生的日志文件通过shell方式调用:

Starting Job = job_1596159072514_0070, Tracking URL = http://cloudera02:8088/proxy/application_1596159072514_0070/
Kill Command = /opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hadoop/bin/hadoop job  -kill job_1596159072514_0070
Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 0
[root@cloudera05 demo1]# vi tt.txt 
S22121tarting Job = job_1596159072514_0070, Tracking URL = http://cloudera02:8088/proxy/application_1596159072514_0070/
Kill Command = /opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hadoop/bin/hadoop job  -kill job_1596159072514_0070
Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 0

shell流程中输入如下: image

此时,运行此shell节点,会以失败返回。 image

image

suncf1985 avatar Dec 28 '20 09:12 suncf1985

For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx!

CalvinKirs avatar Dec 28 '20 11:12 CalvinKirs

SHELL process cat file report error, please fix

When you use the cat command to view the text content, the content includes the following content, then the node is an error node, and it has nothing to do with the process at this time. Please verify

suncf1985 avatar Dec 28 '20 12:12 suncf1985

Starting Job = job_1596159072514_0070, Tracking URL = http://cloudera02:8088/proxy/application_1596159072514_0070/ Kill Command = /opt/cloudera/parcels/CDH-5.12.1-1.cdh5.12.1.p0.3/lib/hadoop/bin/hadoop job -kill job_1596159072514_0070 Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 0

suncf1985 avatar Dec 29 '20 01:12 suncf1985

Because the text words with “application_*”,The worker scan the output of the task, if the application id matched, then try to get yarn application state image

vimacro avatar Dec 29 '20 07:12 vimacro

Because the text words with “application_*”,The worker scan the output of the task, if the application id matched, then try to get yarn application state image

这个需要修改源码解决吗?这应该是一个BUG吧.hive或MR的日志都带这样的日志

suncf1985 avatar Dec 29 '20 07:12 suncf1985

Because the text words with “application_*”,The worker scan the output of the task, if the application id matched, then try to get yarn application state image

这个需要修改源码解决吗?这应该是一个BUG吧.hive或MR的日志都带这样的日志

It need to modify the source code.

vimacro avatar Dec 29 '20 07:12 vimacro

We need to discuss whether there are yarn tasks by detecting logs and whether this mechanism needs to be changed

lenboo avatar Jan 05 '22 09:01 lenboo