Submit job times under Eclipse error mapred. Jobclient:no job jar file set. User classes May is not found.

Source: Internet
Author: User

Error message:

11/10/14 13:52:07 WARN mapred. Jobclient:use Genericoptionsparser for parsing the arguments. Applications should implement Tool for the same.
11/10/14 13:52:07 WARN mapred.  Jobclient:no job jar file set. User classes May is not found. See jobconf (Class) or Jobconf#setjar (String).
11/10/14 13:52:07 INFO input. Fileinputformat:total input paths to Process:5
11/10/14 13:52:07 INFO mapred. Jobclient:running job:job_201110141041_0014
11/10/14 13:52:08 INFO mapred. Jobclient:map 0% Reduce 0%
11/10/14 13:52:19 INFO mapred. Jobclient:task Id:attempt_201110141041_0014_m_000000_0, status:failed
Java.lang.runtimeexception:java.lang.classnotfoundexception:finger$fingermapper1
At Org.apache.hadoop.conf.Configuration.getClass (configuration.java:809)
At Org.apache.hadoop.mapreduce.JobContext.getMapperClass (jobcontext.java:157)
At Org.apache.hadoop.mapred.MapTask.runNewMapper (maptask.java:569)

At Org.apache.hadoop.mapred.MapTask.run (maptask.java:305)

。。。。

The reason for the error is that the Mapper class and the reduce class are not found.

Single-machine running time is not the problem, but now is submitted to the remote cluster directly run, there will be problems, the reason can refer to this article: http://blog.csdn.net/andyelvis/article/details/7706205

Workaround:

Place the project export jar package under the project root directory and add the following settings before submitting the program

Conf.set ("Mapred.jar", "Loadforecast_utils.jar"); Where Loadforecast_utils.jar is your exported jar file name. Note that the first parameter is not spelled correctly.

Re-run Problem solving!

Submit job times under Eclipse error mapred. Jobclient:no job jar file set. User classes May is not found.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.