[jira] [Commented] (YARN-2287) Add audit log levels for NM and RM

2015-05-08 Thread Varun Saxena (JIRA)

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

Varun Saxena commented on YARN-2287:


To ensure that users who need to print these audit logs can do so at DEBUG 
level. In our production setup, we disable these logs as they appear too many 
times

> Add audit log levels for NM and RM
> --
>
> Key: YARN-2287
> URL: https://issues.apache.org/jira/browse/YARN-2287
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: nodemanager, resourcemanager
>Affects Versions: 2.4.1
>Reporter: Varun Saxena
>Assignee: Varun Saxena
> Attachments: YARN-2287-patch-1.patch, YARN-2287.patch
>
>
> NM and RM audit logging can be done based on log level as some of the audit 
> logs, especially the container audit logs appear too many times. By 
> introducing log level, certain audit logs can be suppressed, if not required 
> in deployment.



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


[jira] [Commented] (YARN-2287) Add audit log levels for NM and RM

2015-05-01 Thread Zhijie Shen (JIRA)

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

Zhijie Shen commented on YARN-2287:
---

It seems other audit log didn't do the similar thing. What's the reason why NM 
require the log level differentiation particularly?

> Add audit log levels for NM and RM
> --
>
> Key: YARN-2287
> URL: https://issues.apache.org/jira/browse/YARN-2287
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: nodemanager, resourcemanager
>Affects Versions: 2.4.1
>Reporter: Varun Saxena
>Assignee: Varun Saxena
> Attachments: YARN-2287-patch-1.patch, YARN-2287.patch
>
>
> NM and RM audit logging can be done based on log level as some of the audit 
> logs, especially the container audit logs appear too many times. By 
> introducing log level, certain audit logs can be suppressed, if not required 
> in deployment.



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


[jira] [Commented] (YARN-2287) Add audit log levels for NM and RM

2014-07-15 Thread Varun Saxena (JIRA)

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

Varun Saxena commented on YARN-2287:


I will make the following changes :
1. Create new logSuccess and logFailure methods having an additional parameter 
indicating log level. This can be an enum in RMAuditLogger and NMAuditLogger.
2. The previous logSuccess method will continue printing logs at INFO level. 
The new method can be used to print logs at appropriate levels.

> Add audit log levels for NM and RM
> --
>
> Key: YARN-2287
> URL: https://issues.apache.org/jira/browse/YARN-2287
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: nodemanager, resourcemanager
>Affects Versions: 2.4.1
>Reporter: Varun Saxena
>
> NM and RM audit logging can be done based on log level as some of the audit 
> logs, especially the container audit logs appear too many times. By 
> introducing log level, certain audit logs can be suppressed, if not required 
> in deployment.



--
This message was sent by Atlassian JIRA
(v6.2#6252)