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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org