Quantcast
Channel: security – Cloudera Engineering Blog
Viewing all articles
Browse latest Browse all 166

How-to: Include Third-Party Libraries in Your MapReduce Job

$
0
0

“My library is in the classpath but I still get a Class Not Found exception in a MapReduce job” – If you have this problem this blog is for you.

Java requires third-party and user-defined classes to be on the command line’s “classpath” option when the JVM is launched. The hadoop wrapper shell script does exactly this for you by building the classpath from the core libraries located in /usr/lib/hadoop-0.20/ and /usr/lib/hadoop-0.20/lib/ directories.

Read More

The post How-to: Include Third-Party Libraries in Your MapReduce Job appeared first on Cloudera Engineering Blog.


Viewing all articles
Browse latest Browse all 166

Trending Articles