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, 呂佳鴻 <[email protected]> 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!
>

Reply via email to