HADOOP-14400. Fix warnings from spotbugs in hadoop-tools. Contributed by Weiwei Yang.
This commit is contained in:
parent
ddc88eaf88
commit
3e2ca23a53
|
@ -216,6 +216,13 @@ public class SLSRunner extends Configured implements Tool {
|
||||||
return Collections.unmodifiableMap(simulateInfoMap);
|
return Collections.unmodifiableMap(simulateInfoMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return an unmodifiable view of the simulated info map.
|
||||||
|
*/
|
||||||
|
public static Map<String, Object> getSimulateInfoMap() {
|
||||||
|
return Collections.unmodifiableMap(simulateInfoMap);
|
||||||
|
}
|
||||||
|
|
||||||
public void setSimulationParams(TraceType inType, String[] inTraces,
|
public void setSimulationParams(TraceType inType, String[] inTraces,
|
||||||
String nodes, String outDir, Set<String> trackApps,
|
String nodes, String outDir, Set<String> trackApps,
|
||||||
boolean printsimulation) throws IOException, ClassNotFoundException {
|
boolean printsimulation) throws IOException, ClassNotFoundException {
|
||||||
|
|
Loading…
Reference in New Issue