You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobClient.java
+15-47Lines changed: 15 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -209,23 +209,15 @@ public String getTrackingURL() {
209
209
* completed.
210
210
*/
211
211
publicfloatmapProgress() throwsIOException {
212
-
try {
213
-
returnjob.mapProgress();
214
-
} catch (InterruptedExceptionie) {
215
-
thrownewIOException(ie);
216
-
}
212
+
returnjob.mapProgress();
217
213
}
218
214
219
215
/**
220
216
* A float between 0.0 and 1.0, indicating the % of reduce work
221
217
* completed.
222
218
*/
223
219
publicfloatreduceProgress() throwsIOException {
224
-
try {
225
-
returnjob.reduceProgress();
226
-
} catch (InterruptedExceptionie) {
227
-
thrownewIOException(ie);
228
-
}
220
+
returnjob.reduceProgress();
229
221
}
230
222
231
223
/**
@@ -245,33 +237,21 @@ public float cleanupProgress() throws IOException {
245
237
* completed.
246
238
*/
247
239
publicfloatsetupProgress() throwsIOException {
248
-
try {
249
-
returnjob.setupProgress();
250
-
} catch (InterruptedExceptionie) {
251
-
thrownewIOException(ie);
252
-
}
240
+
returnjob.setupProgress();
253
241
}
254
242
255
243
/**
256
244
* Returns immediately whether the whole job is done yet or not.
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
0 commit comments