sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: sqoop 1.99.3 Java api check submission status
Date Sat, 13 Dec 2014 02:48:35 GMT
It doesn't sound like your mapreduce job is actually progressing. You can
wait by running a synchronous submission: 'start job --jid 1 -s'.

http://sqoop.apache.org/docs/1.99.3/CommandLineClient.html#start-job-function

On Fri, Dec 12, 2014 at 9:52 AM, 呂佳鴻 <chiahung1227@gmail.com> wrote:
>
> hi,
> i try the job submission sample (
> http://sqoop.apache.org/docs/1.99.3/ClientAPI.html)
>
> System.out.println("Progress : " + String.format("%.2f %%", submission.getProgress()
* 100));
>
> why the submission.getProgress()  just turn the value 0 back ? (i put it
> in while loop )
> how can i that the program wait until it finish the mapreduce job?
>
> thanks!
>

Mime
View raw message