Yesha Vora created YARN-8316:
--------------------------------

             Summary: Diagnostic message should improve when yarn service fails 
to launch due to ATS unavailability
                 Key: YARN-8316
                 URL: https://issues.apache.org/jira/browse/YARN-8316
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn-native-services
    Affects Versions: 3.1.0
            Reporter: Yesha Vora


Scenario:

1) shutdown ATS
2) launch yarn service.

yarn service launch cmd fails with below stack trace. There is no diagnostic 
message available in response.
{code:java}
bash-4.2$ yarn app -launch hbase-sec /tmp/hbase-secure.yar 
WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of 
YARN_LOGFILE.
WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of 
YARN_PID_DIR.
18/05/17 13:24:43 INFO client.RMProxy: Connecting to ResourceManager at 
xxx/xxx:8050
18/05/17 13:24:44 INFO client.AHSProxy: Connecting to Application History 
server at localhost/xxx:10200
18/05/17 13:24:44 INFO client.RMProxy: Connecting to ResourceManager at 
xxx/xxx:8050
18/05/17 13:24:44 INFO client.AHSProxy: Connecting to Application History 
server at localhost/127.0.0.1:10200
18/05/17 13:24:44 INFO client.ApiServiceClient: Loading service definition from 
local FS: /tmp/hbase-secure.yar
18/05/17 13:26:06 ERROR client.ApiServiceClient: 
bash-4.2$ echo $?
56{code}
The Error message should provide ConnectionRefused exception.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to