MCPcopy Create free account
hub / github.com/apache/pig / getBytesWritten

Method getBytesWritten

src/org/apache/pig/tools/pigstats/JobStats.java:136–143  ·  view source on GitHub ↗

Returns the total bytes written to user specified HDFS locations of this job.

()

Source from the content-addressed store, hash-verified

134 * locations of this job.
135 */
136 public long getBytesWritten() {
137 long count = 0;
138 for (OutputStats out : outputs) {
139 long n = out.getBytes();
140 if (n > 0) count += n;
141 }
142 return count;
143 }
144
145 /**
146 * Returns the total number of records in user specified output

Callers 4

firstParallelTestMethod · 0.45
runParallelTestMethod · 0.45
runLoopTestMethod · 0.45
getDisplayStringMethod · 0.45

Calls 1

getBytesMethod · 0.65

Tested by 3

firstParallelTestMethod · 0.36
runParallelTestMethod · 0.36
runLoopTestMethod · 0.36