ClassNotFoundException after job submission

后端 未结 4 1316
轻奢々
轻奢々 2021-01-23 23:31

I\'m trying out Spring Data - Hadoop for executing the MR code on a remote cluster from my local machine\'s IDE

//Hadoop 1.1.2, Spring 3.2.4, Spring-Data-Hadoop 1.0.0

4条回答
  •  温柔的废话
    2021-01-23 23:56

    I had same problem with my very first hadoop job here, and the solution was with way of compiling the jar file in eclipse.

    When you want to export java project as a jar file in eclipse, two options are available:

    Extract required libraries into generated JAR
    Package required libraries into generated JAR
    

    First option solved my problem and probably will solve yours.

提交回复
热议问题