List of usage examples for org.apache.hadoop.yarn.server MiniYARNCluster getConfig
@Override
public Configuration getConfig()
From source file:io.hops.tensorflow.TestUtils.java
License:Apache License
public static boolean dumpAllAggregatedContainersLogs(MiniYARNCluster yarnCluster, ApplicationId appId) throws Exception { LogsCLI logDumper = new LogsCLI(); logDumper.setConf(yarnCluster.getConfig()); int resultCode = logDumper.run(new String[] { "-applicationId", appId.toString() }); return resultCode == 0; }