Bibin A Chundatt commented on YARN-4029:

*Diagnostics value null on recovery*

In {{RMAppImpl}} during recovery {{diagnostics}} is set as below

{{RMAppImpl#recover(RMState state)}} 

So {{null}} gets appended to {{diagnostics}};

AppBlock checks for *null* but value is string *'null'* 
        app.getDiagnosticsInfo() == null ? "" : app.getDiagnosticsInfo());

*LogAggregationStatus to NOT_START* 

In state store we are not adding LogAggregation status. 
{{ApplicationStateData}} need to be updated.
Should i handle updation to addition to Store? or in {{AppBlock}} check for 
status of app and if completed then show {{N/A}}.

Any thoughts on this? 

> LogAggregationStatus and Diagnostics value wrong after RM switch
> ----------------------------------------------------------------
>                 Key: YARN-4029
>                 URL: https://issues.apache.org/jira/browse/YARN-4029
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>         Attachments: Image.jpg
> Steps to reproduce
> ================
> 1.Submit mapreduce application
> 2.Wait for completion
> 3.Once application is completed switch RM
> *Log Aggregation Status* and *Diagnostics* are changing
> *Log Aggregation Status* from SUCCESS to NOT_START
> *Diagnostics* from EMPTY to null

This message was sent by Atlassian JIRA

Reply via email to