[ 
https://issues.apache.org/jira/browse/YARN-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646226#comment-14646226
 ] 

Sunil G commented on YARN-3989:
-------------------------------

Hi [~Naganarasimha Garla]
Thank you for sharing comments. I also do not feel like changing whole commands 
and suppress the exception across, that is not the intention. For few commands 
like "-aadToClusterNodeLabels", we need to see only suppressed messages which 
indicates a failure in addition. I agree in other complex commands, we may need 
traces. So we can selectively take the commands in rmadmin and give meaningful 
messages while suppressing exception. As mentioned in jira itself, it was 
trying to focus on nodelabel commands for now. [~bibinchundatt] thoughts?

> Show messages only for NodeLabel commmands in RMAdminCLI
> --------------------------------------------------------
>
>                 Key: YARN-3989
>                 URL: https://issues.apache.org/jira/browse/YARN-3989
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Minor
>
> Currently for nodelabel command execution failure  full exception stacktrace 
> is shown. This jira is to handle exceptions and show only messages.
> As per the discussion in YARN-3963
> [~sunilg]
> {quote}
> As I see it, I can see full exception stack trace in client side in this case 
> (also in case of other commands too) and its too verbose. I think we can make 
> its compact and n it will be more easily readable.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to