HBASE-18197 Avoided to call job.waitForCompletion(true) two times
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
a03c2036e9
commit
b181f172ef
|
@ -750,6 +750,6 @@ public class Import {
|
|||
}
|
||||
}
|
||||
|
||||
System.exit(job.waitForCompletion(true) ? 0 : 1);
|
||||
System.exit(isJobSuccessful ? 0 : 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue