HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect. Contributed by hellojinjie
This commit is contained in:
parent
f523e963e4
commit
ec2748dedb
@ -638,6 +638,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HADOOP-7165. listLocatedStatus(path, filter) is not redefined in FilterFs
|
||||
(Hairong Kuang via jlowe)
|
||||
|
||||
HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect
|
||||
(hellojinjie via jlowe)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -54,8 +54,12 @@
|
||||
* job.setReducerClass(MyReducer.class);
|
||||
*
|
||||
* // Submit the job, then poll for progress until the job is complete
|
||||
* JobClient.runJob(job);
|
||||
* RunningJob runningJob = JobClient.runJob(job);
|
||||
* if (runningJob.isSuccessful()) {
|
||||
* return 0;
|
||||
* } else {
|
||||
* return 1;
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* public static void main(String[] args) throws Exception {
|
||||
|
Loading…
Reference in New Issue
Block a user