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

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)}} 
{code}
this.diagnostics.append(appState.getDiagnostics());
{code}

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

AppBlock checks for *null* but value is string *'null'* 
{code}
    overviewTable._("Diagnostics:",
        app.getDiagnosticsInfo() == null ? "" : app.getDiagnosticsInfo());
{code}

*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
(v6.3.4#6332)

Reply via email to