guodeliang opened a new issue #4578:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4578


   node : 
   machine: **host1**
   type:  shell
   content:   ssh -t  user@host2  -i ~/private_key   " bash 
/home/vastdb/code/script/test.sh"
   echo $?
   
   ### reason: 
   test.sh file contains   hive  query command,   which will be executed on 
host2,   host2  has an isolated  hadoop  system,  **host1** can't direct  visit 
the system.
   
   >worker_log
   `
    org.apache.dolphinscheduler.common.utils.HadoopUtils:[206] - application 
url : http://yarnIp1:8088/ws/v1/cluster/apps/%s
   [ERROR] 2021-01-26 19:39:49.371 
org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - yarnIp1: Name or 
service not known
   java.net.UnknownHostException: yarnIp1: Name or service not known
   ` 
   > console log
   
   `
   [INFO] 2021-01-26 19:39:49.332  - [taskAppId=TASK-5-50-70]:[127] -  -> 
MapReduce Jobs Launched: 
        Stage-Stage-1: Map: 34   Cumulative CPU: 608.01 sec   HDFS Read: 
4108290122 HDFS Write: 93488199 SUCCESS
        Stage-Stage-2: Map: 1   Cumulative CPU: 46.29 sec   HDFS Read: 93527219 
HDFS Write: 93091919 SUCCESS
        Total MapReduce CPU Time Spent: 10 minutes 54 seconds 300 msec
        OK
        Time taken: 130.29 seconds
   `
   
   **Expected behavior**
   supply a option to stop tracking  hive sql status  in shell type node
   
   **Screenshots**
   work log and  console log  above
   
   **Which version of Dolphin Scheduler:**
    -[1.3.4]
   
   
   **Requirement or improvement**
   -  current tracking logic has some bug,  exec script on  ssh remote host  is 
an example.


----------------------------------------------------------------
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]


Reply via email to