public static class JobLog.CounterHash extends HashMap<String,HashMap<String,Long>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobLog.CounterHash(String str) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,Long> |
flat()
Flat the counter hashs and add into map passed int.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public JobLog.CounterHash(String str)
public HashMap<String,Long> flat()
Counter:org\.apache\.hadoop\.mapred\.JobInProgress$Counter:TOTAL_LAUNCHED_REDUCES=1 Counter:org\.apache\.hadoop\.mapred\.JobInProgress$Counter:TOTAL_LAUNCHED_MAPS=14 Counter:org\.apache\.hadoop\.mapred\.JobInProgress$Counter:DATA_LOCAL_MAPS=14 Counter:FileSystemCounters:FILE_BYTES_READ=132 Counter:FileSystemCounters:HDFS_BYTES_READ=20471 Counter:FileSystemCounters:FILE_BYTES_WRITTEN=790 Counter:FileSystemCounters:HDFS_BYTES_WRITTEN=248
Copyright © 2014 Apache Software Foundation. All Rights Reserved.