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 "Gour Saha (JIRA)" <ji...@apache.org> on 2018/07/20 20:11:00 UTC
[jira] [Commented] (YARN-8429) Improve diagnostic message when
artifact is not set properly
[ https://issues.apache.org/jira/browse/YARN-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551204#comment-16551204 ]
Gour Saha commented on YARN-8429:
---------------------------------
[~yeshavora], with this patch the error msg will change to -
{code}
For component httpd with no artifact, dest_file must not be an absolute path: /xxx/xxx
{code}
This should help identify easily that component httpd is being identified as a component with no artifact and help detect this typo faster.
> 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.1
>
> Attachments: YARN-8429.001.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org