gWork.getName(), humanReadableByteCount(serializedSize)); gWorkMap.get(conf).put(path, gWork); return gWork;
gWork.getName(), humanReadableByteCount(serializedSize)); gWorkMap.get(conf).put(path, gWork); } else if (LOG.isDebugEnabled()) {
private String summary(String scheme, String vertexName, TezCounters vertexCounters) { final String counterGroup = FileSystemCounter.class.getName(); final long bytesRead = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.BYTES_READ.name()); final long bytesWritten = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.BYTES_WRITTEN.name()); final long readOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.READ_OPS.name()); final long largeReadOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.LARGE_READ_OPS.name()); final long writeOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.WRITE_OPS.name()); return String.format(FORMATTING_PATTERN, vertexName, Utilities.humanReadableByteCount(bytesRead), readOps, largeReadOps, Utilities.humanReadableByteCount(bytesWritten), writeOps); }
humanReadableByteCount(serializedSize));
private String summary(String scheme, String vertexName, TezCounters vertexCounters) { final String counterGroup = FileSystemCounter.class.getName(); final long bytesRead = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.BYTES_READ.name()); final long bytesWritten = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.BYTES_WRITTEN.name()); final long readOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.READ_OPS.name()); final long largeReadOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.LARGE_READ_OPS.name()); final long writeOps = getCounterValueByGroupName(vertexCounters, counterGroup, scheme + "_" + FileSystemCounter.WRITE_OPS.name()); return String.format(FORMATTING_PATTERN, vertexName, Utilities.humanReadableByteCount(bytesRead), readOps, largeReadOps, Utilities.humanReadableByteCount(bytesWritten), writeOps); }
humanReadableByteCount(serializedSize));