我在Ubuntu上安装了一个节点集群。 我想执行wordcount程序。 我已经创建了jar文件。 但是,当我要执行这个命令:运行WordCount时输入路径不存在MapReduce
hadoop jar '/home/hduser/Desktop/TutorialFolder/firstTutorial.jar' WordCount /home/hduser/Desktop/TutorialFolder/input_data /TutorialFolder/Output
这是给下面的错误:
Exception in thread "main"
org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist:
hdfs://localhost:9000/home/hduser/Desktop/TutorialFolder/input_data
at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:323)
它的工作表示感谢。我需要通过单击来浏览哪些内容,以查看存储在我知道的hdfs.By命令中的数据。 –
进入'http:// localhost:50070',选择'Utilities - > Browse File System',你应该能够查看在HDFS中创建的文件夹。 – franklinsijo
你能分享你的链接网址吗? –