[
https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568099#comment-16568099
]
Akhil PB commented on YARN-8620:
--------------------------------
Hi [~sunilg], Thanks for the comments. I have uploaded the latest v2 patch
addressing your comments. Please note that the error messages added in UI are
failsafe/fallback messages. Means if the API does return the following type
error message, UI would show below API error message, otherwise UI would
fallback to the messages mentioned above. Please review the latest patch.
{code:java}
{diagnostics: "Some error message"}{code}
> [UI2] YARN Services UI new submission failures are not debuggable
> -----------------------------------------------------------------
>
> Key: YARN-8620
> URL: https://issues.apache.org/jira/browse/YARN-8620
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn-ui-v2
> Reporter: Akhil PB
> Assignee: Akhil PB
> Priority: Major
> Attachments: YARN-8620.001.patch, YARN-8620.002.patch
>
>
> When a new service is submitted through the YARN Services UI and an error
> occurs, the only message in the UI is
> {code}
> Error: Adapter operation failed
> {code}
> Even though the underlying REST API is returning one of the following
> messages, it is completely hidden from the end user
> {code}
> - \{"diagnostics":"Artifact tarball does not exist
> hbase-2.0.0.3.0.0.0.tar.gz"}
> - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"}
> - \{"diagnostics":"Failed to create service sleeper-service, because it
> already exists."}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]