2016-08-09 01:30:53,107 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
grunt> ls
2016-08-09 01:31:23,362 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2997: Encountered IOException. File or directory null does not exist.
Details at logfile: /usr/local/hadoop/pig_1470731447487.log
修改方法:
grunt> ls /
hdfs://master:9000/data <dir>
hdfs://master:9000/test <dir>
hdfs://master:9000/tmp <dir>
本文记录了在使用Hadoop过程中遇到的一个错误:尝试列出文件或目录时出现的IOException,并给出了详细的解决方案,包括如何正确地使用ls命令来查看HDFS中的内容。
27

被折叠的 条评论
为什么被折叠?



