HBASE-18197 Avoided to call job.waitForCompletion(true) two times

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Jan Hentschel 2017-06-10 22:17:00 +02:00 committed by Chia-Ping Tsai
parent a03c2036e9
commit b181f172ef
1 changed files with 1 additions and 1 deletions

View File

@ -750,6 +750,6 @@ public class Import {
}
}
System.exit(job.waitForCompletion(true) ? 0 : 1);
System.exit(isJobSuccessful ? 0 : 1);
}
}