You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2018/06/14 20:13:00 UTC

[jira] [Created] (YARN-8429) Improve diagnostic message when artifact is not set properly

Yesha Vora created YARN-8429:
--------------------------------

             Summary: Improve diagnostic message when artifact is not set properly
                 Key: YARN-8429
                 URL: https://issues.apache.org/jira/browse/YARN-8429
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.1.1
            Reporter: Yesha Vora


Steps:

1) Create launch json file. Replace "artifact" with "artifacts"
2) launch yarn service app with cli

The application launch fails with below error
{code}
[xxx xxx]$ yarn app -launch test2-2 test.json 
18/06/14 17:08:00 INFO client.AHSProxy: Connecting to Application History server at xxx/xxx:10200
18/06/14 17:08:00 INFO client.AHSProxy: Connecting to Application History server at xxx/xxx:10200
18/06/14 17:08:00 INFO client.ApiServiceClient: Loading service definition from local FS: /xxx/test.json
18/06/14 17:08:01 INFO util.log: Logging initialized @2782ms
18/06/14 17:08:01 ERROR client.ApiServiceClient: Dest_file must not be absolute path: /xxx/xxx
{code}

artifact field is not mandatory. However, If that field is specified incorrectly, launch cmd should fail with proper error. 
Here, The error message regarding Dest file is misleading.



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

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