Hadoop HADOOP_CLASSPATH issues

后端 未结 3 1818
南旧
南旧 2020-12-30 12:31

This question doesn\'t refer to distributing jars in the whole cluster for the workers to use them.

It refers to specifying a number of additional libraries on the

3条回答
  •  爱一瞬间的悲伤
    2020-12-30 13:12

    If someone wants to check hadoop classpath, enter hadoop classpath in terminal.
    To compile it, use this: javac -cp $(hadoop classpath):path/to/jars/* java_file.java

提交回复
热议问题