[jira] [Commented] (YARN-3237) AppLogAggregatorImpl fails to log error if it is unable to create LogWriter

2015-02-20 Thread Jason Lowe (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14329505#comment-14329505
 ] 

Jason Lowe commented on YARN-3237:
--

I would just add it to this patch since it's a similar and very closely related 
fix.  The JIRA title can be changed to something like AppLogAggregatorImpl 
fails to log error cause.

 AppLogAggregatorImpl fails to log error if it is unable to create LogWriter
 ---

 Key: YARN-3237
 URL: https://issues.apache.org/jira/browse/YARN-3237
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.5.0
Reporter: Rushabh S Shah
Assignee: Rushabh S Shah
 Attachments: YARN-3237.patch


 AppLogAggregatorImpl fails to log the error if it is unable to create 
 LogWriter.
 Below is the log output:
 [LogAggregationService #24011] ERROR logaggregation.AppLogAggregatorImpl: 
 Cannot create writer for app app_id. Disabling log-aggregation for this app.



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


[jira] [Commented] (YARN-3237) AppLogAggregatorImpl fails to log error if it is unable to create LogWriter

2015-02-20 Thread Rushabh S Shah (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14329492#comment-14329492
 ] 

Rushabh S Shah commented on YARN-3237:
--

There is 1 more method in AppLogAggregatorImpl#doContainerLogAggregation which 
doesn't log the exception too.
Do I need to create another jira or should I add in this patch ?

 AppLogAggregatorImpl fails to log error if it is unable to create LogWriter
 ---

 Key: YARN-3237
 URL: https://issues.apache.org/jira/browse/YARN-3237
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.5.0
Reporter: Rushabh S Shah
Assignee: Rushabh S Shah
 Attachments: YARN-3237.patch


 AppLogAggregatorImpl fails to log the error if it is unable to create 
 LogWriter.
 Below is the log output:
 [LogAggregationService #24011] ERROR logaggregation.AppLogAggregatorImpl: 
 Cannot create writer for app app_id. Disabling log-aggregation for this app.



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