0

I have to work with hadoop 0.20.203.I try to run a job that needs some external jars but I can't find out how to include them. I have tried 1) -libjars 2) putting the jars $HADOOP_HOME/lib but none of them seems to work. Is there any way?

4

1 回答 1

0

您做得对,但您还需要在 HADOOP_CLASSPATH 中包含 .jar 文件,您可以在文件 $HADOOP_HOME/conf/hdfs-site 文件中对其进行修改。重新启动集群以使其生效。

于 2012-07-12T22:41:39.880 回答