YARN-1751. Improve MiniYarnCluster for log aggregation testing. Contributed by Ming Ma
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1594275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4ee1d111b
commit
95ba9f47fc
|
@ -76,6 +76,9 @@ Release 2.5.0 - UNRELEASED
|
||||||
YARN-1987. Wrapper for leveldb DBIterator to aid in handling database exceptions.
|
YARN-1987. Wrapper for leveldb DBIterator to aid in handling database exceptions.
|
||||||
(Jason Lowe via kasha)
|
(Jason Lowe via kasha)
|
||||||
|
|
||||||
|
YARN-1751. Improve MiniYarnCluster for log aggregation testing (Ming Ma
|
||||||
|
via jlowe)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -504,12 +504,6 @@ public class MiniYARNCluster extends CompositeService {
|
||||||
String logDirsString = prepareDirs("log", numLogDirs);
|
String logDirsString = prepareDirs("log", numLogDirs);
|
||||||
config.set(YarnConfiguration.NM_LOG_DIRS, logDirsString);
|
config.set(YarnConfiguration.NM_LOG_DIRS, logDirsString);
|
||||||
|
|
||||||
File remoteLogDir =
|
|
||||||
new File(testWorkDir, MiniYARNCluster.this.getName()
|
|
||||||
+ "-remoteLogDir-nm-" + index);
|
|
||||||
remoteLogDir.mkdir();
|
|
||||||
config.set(YarnConfiguration.NM_REMOTE_APP_LOG_DIR,
|
|
||||||
remoteLogDir.getAbsolutePath());
|
|
||||||
// By default AM + 2 containers
|
// By default AM + 2 containers
|
||||||
config.setInt(YarnConfiguration.NM_PMEM_MB, 4*1024);
|
config.setInt(YarnConfiguration.NM_PMEM_MB, 4*1024);
|
||||||
config.set(YarnConfiguration.NM_ADDRESS,
|
config.set(YarnConfiguration.NM_ADDRESS,
|
||||||
|
|
Loading…
Reference in New Issue