You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.
(i). JobClient throws an IoException! "The Client is stopped!"
After calling:
JobClient.runJob()
to start a hadoop job , it throws an error ("IoException: The Client is stopped") while calling
job .getCounters()
subsquently.
It is ok to use:
JobClient jobclient = new JobClient(conf);
RunningJob job = jobclient.submitJob(conf);
job.waitForCompletion();
(ii). counters.findCounter(x, y) takes at least two params, there only one param in your code.
in fact, it is not necessary to call 'findCounter',
XXX = counters.getCounter(MyCounter.LEFT_OVER_TERMS);
is just fine!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(i). JobClient throws an IoException! "The Client is stopped!"
After calling:
JobClient.runJob()
to start a hadoop job , it throws an error ("IoException: The Client is stopped") while calling
job .getCounters()
subsquently.
It is ok to use:
JobClient jobclient = new JobClient(conf);
RunningJob job = jobclient.submitJob(conf);
job.waitForCompletion();
(ii). counters.findCounter(x, y) takes at least two params, there only one param in your code.
in fact, it is not necessary to call 'findCounter',
XXX = counters.getCounter(MyCounter.LEFT_OVER_TERMS);
is just fine!
The text was updated successfully, but these errors were encountered: