hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harshira <hr1...@gmail.com>
Subject How to add external jar file while running a hadoop program
Date Fri, 07 May 2010 03:55:15 GMT

am new to hadoop.

I have a file Wordcount.java which refers hadoop.jar and stanford-parser.jar

I am running the following commnad

javac -classpath .:hadoop-0.20.1-core.jar:stanford-parser.jar -d ep

jar cvf ep.jar -C ep .

bin/hadoop jar ep.jar WordCount gutenburg gutenburg1

After executing i am getting the following error:


The class is in stanford-parser.jar ...
I guess that different processes doesnt access this jar file . so how can
this be acheived.

View this message in context: http://old.nabble.com/How-to-add-external-jar-file-while-running-a-hadoop-program-tp28481933p28481933.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

View raw message