How can I run Hadoop run with a Java class?

前端 未结 9 811
甜味超标
甜味超标 2021-01-20 03:13

I am following the book Hadoop: the definitive Guide.

I am confused on example 3-1.

There is a Java source file, URLCat.java. I use javac to co

9条回答
  •  不知归路
    2021-01-20 03:58

    The syntax of the command is a little bit different:

    hadoop fs -cat hdfs:///user/tom/quangle.txt
    

    Do you have hadoop home in your path? can you call hadoop without any parameters?

提交回复
热议问题