Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Some Problems! #12

Open
liuwwei3 opened this issue Oct 26, 2015 · 0 comments
Open

Some Problems! #12

liuwwei3 opened this issue Oct 26, 2015 · 0 comments

Comments

@liuwwei3
Copy link

(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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant