hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7148) TestLogsCLI fails in trunk and branch-2
Date Fri, 01 Sep 2017 18:48:00 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message