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

Chandni Singh edited comment on YARN-7741 at 1/24/18 9:28 PM:
--------------------------------------------------------------

slf4j api doesn't allow to change logger levels programmatically. 

A way to achieve this is by setting the logging level of org.apache.zookeeper 
package to WARN in log4j.properties


was (Author: csingh):
slf4j api doesn't allow to change logger levels programmatically. 

A way to achieve this is by setting the logging level of org.apache.zookeeper 
package can be set to WARN in log4j.properties

> Eliminate extra log statement from yarn app -destroy cli
> --------------------------------------------------------
>
>                 Key: YARN-7741
>                 URL: https://issues.apache.org/jira/browse/YARN-7741
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-native-services
>            Reporter: Yesha Vora
>            Assignee: Chandni Singh
>            Priority: Major
>
> "Yarn destroy -app " cli prints very long stacktrace from zookeeper client 
> which is not required. 
> This cli prints 44009 characters (38 lines and 358 words)
> This api should only print the message whether app was destroyed successfully 
> or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to