[ https://issues.apache.org/jira/browse/YARN-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551618#comment-16551618 ]
Gour Saha commented on YARN-8429: --------------------------------- Patch 003 has the absolute->relative suggested change. > 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 > Assignee: Gour Saha > Priority: Major > Fix For: 3.2.0, 3.1.2 > > Attachments: YARN-8429.001.patch, YARN-8429.002.patch, > YARN-8429.003.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org