Returns the total bytes written to user specified HDFS locations of this script.
()
| 239 | * locations of this script. |
| 240 | */ |
| 241 | public long getBytesWritten() { |
| 242 | Iterator<JobStats> it = jobPlan.iterator(); |
| 243 | long ret = 0; |
| 244 | while (it.hasNext()) { |
| 245 | long n = it.next().getBytesWritten(); |
| 246 | if (n > 0) ret += n; |
| 247 | } |
| 248 | return ret; |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * Returns the total number of records in user specified output |