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

Xuan Gong commented on YARN-7148:
---------------------------------

I have to change the line:
{code}
Configuration configuration = new Configuration()
{code}

to

{code}
Configuration configuration = new YarnConfiguration()
{code}

Because right now, we add default value for the configuration 
"yarn.log-aggregation.file-formats" in yarn-default.xml. Somehow, TestLogsCLI 
can not load this configuration correctly. So, initialize the configuration as  
"new YarnConfiguration()" to load the default values from yarn-default.xml

> TestLogsCLI fails in trunk and branch-2
> ---------------------------------------
>
>                 Key: YARN-7148
>                 URL: https://issues.apache.org/jira/browse/YARN-7148
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-7148.1.patch
>
>
> The testcase failures(TestLogsCLI) should be related to YARN-6877



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to