How to run a Hadoop program?

前端 未结 2 1087
谎友^
谎友^ 2021-02-13 02:54

I have set up Hadoop on my laptop and ran the example program given in the installation guide successfully. But, I am not able to run a program.

rohit@renaissa         


        
2条回答
  •  生来不讨喜
    2021-02-13 03:35

    I found this problem as well when going thru the Hadoop Book (O'Reilly). I fixed it by setting the HADOOP_CLASSPATH variable in the hadoop-env.sh file in your configuration directory.

提交回复
热议问题