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 "Chandni Singh (JIRA)" <ji...@apache.org> on 2018/01/24 21:28:00 UTC

[jira] [Commented] (YARN-7741) Eliminate extra log statement from yarn app -destroy cli

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

Chandni Singh commented on YARN-7741:
-------------------------------------

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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org