You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Andy Liu <an...@gmail.com> on 2010/08/09 18:24:37 UTC

java.io.IOException: The client is stopped

We've created a job that depends on a counter value from a previous job.  So
we have some code that submits a job, and gets the counters after the job
has completed:

                RunningJob job = JobClient.runJob(conf);
                Counters counters = job.getCounters();

However, we're getting this exception in the job.getCounters() call:

java.io.IOException: The client is stopped
    at org.apache.hadoop.ipc.Client.getConnection(Client.java:779)
    at org.apache.hadoop.ipc.Client.call(Client.java:686)
    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
    at org.apache.hadoop.mapred.$Proxy0.getJobCounters(Unknown Source)
    at
org.apache.hadoop.mapred.JobClient$NetworkedJob.getCounters(JobClient.java:372)
    at x.y.z.run(z.java:111)

Any clues on where to start looking to debug this issue would be much
appreciated.  We are using 0.19.2 in a cluster of 4 machines.

Andy