You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ming Ma (JIRA)" <ji...@apache.org> on 2014/05/12 23:04:15 UTC
[jira] [Updated] (YARN-1751) Improve MiniYarnCluster for log
aggregation testing
[ https://issues.apache.org/jira/browse/YARN-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ming Ma updated YARN-1751:
--------------------------
Summary: Improve MiniYarnCluster for log aggregation testing (was: Improve MiniYarnCluster and LogCLIHelpers for log aggregation testing)
> Improve MiniYarnCluster for log aggregation testing
> ---------------------------------------------------
>
> Key: YARN-1751
> URL: https://issues.apache.org/jira/browse/YARN-1751
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: nodemanager
> Reporter: Ming Ma
> Assignee: Ming Ma
> Attachments: YARN-1751-trunk.patch
>
>
> MiniYarnCluster specifies individual remote log aggregation root dir for each NM. Test code that uses MiniYarnCluster won't be able to get the value of log aggregation root dir. The following code isn't necessary in MiniYarnCluster.
> File remoteLogDir =
> new File(testWorkDir, MiniYARNCluster.this.getName()
> + "-remoteLogDir-nm-" + index);
> remoteLogDir.mkdir();
> config.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR,
> remoteLogDir.getAbsolutePath());
> In LogCLIHelpers.java, dumpAllContainersLogs should pass its conf object to FileContext.getFileContext() call.
--
This message was sent by Atlassian JIRA
(v6.2#6252)