hadoop fs -ls results in “no such file or directory”
2017-06-03 14:03
537 查看
ubuntu@xad101-master:~$ hadoop fs -ls 这样事不对的
ubuntu@101-master:~$ hadoop fs -ls /
the reason you are seeing the error is ls: ‘.’: No such file or directory because hadoop is looking for this path /home/ubuntu, it seems like this path doesn’t exist in hdfs.
The reason why this command:
ubuntu@101-master:~$ hadoop fs -ls hdfs://101-master:50000/
is working because, you have explicitly specified [path] and is the root of the hdfs. You can also do the same using this:
ubuntu@101-master:~$ hadoop fs -ls /
https://stackoverflow.com/questions/28241251/hadoop-fs-ls-results-in-no-such-file-or-directory
ubuntu@101-master:~$ hadoop fs -ls /
the reason you are seeing the error is ls: ‘.’: No such file or directory because hadoop is looking for this path /home/ubuntu, it seems like this path doesn’t exist in hdfs.
The reason why this command:
ubuntu@101-master:~$ hadoop fs -ls hdfs://101-master:50000/
is working because, you have explicitly specified [path] and is the root of the hdfs. You can also do the same using this:
ubuntu@101-master:~$ hadoop fs -ls /
https://stackoverflow.com/questions/28241251/hadoop-fs-ls-results-in-no-such-file-or-directory
相关文章推荐
- mysqli使用localhost问题 Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /mnt/www/
- 解决MAC下PHP连接MYSQL错误Warning: mysql_connect(): No such file or directory in conn.php
- failed to open stream: No such file or directory in includes/src/Varien_Autoload.php on l
- Cyginwin中 解释器错误: No such file or directory
- phpadmin 报错failed to open stream:No such file or directory in /www/drug_new/404.php
- Warning: mysql_connect(): No such file or directory in
- -bash: /bin/ls: No such file or directory
- iostream: No such file or directory in Android NDK Environment
- "ls: cannot access sys/class/ieee80211: No such file or directory" .
- sqlstate[hy000] [2002] No such file or directory in ...错误
- libhiredis.so.0.13: cannot open shared object file: No such file or directory in Unknown on line
- Warning: require(D:\wamp\www\glink-smart\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\glink-smart\bootstrap\autoload.php on line 1
- ls:‘.’:No such file or directory
- mysqli使用localhost问题 Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /mnt/www/
- Laravel No such file or directory in /bootstrap/autoload.php on line 17
- SQLSTATE[HY000] [2002] No such file or directory in
- bash no such file or directory in ubuntu 1404
- 解决MAC下PHP连接MYSQL错误Warning: mysql_connect(): No such file or directory in conn.php
- 在把jQuery的ajax例子放在AppServ上运行时出错,failed to open stream: No such file or directory in Unknown on line 0
- mysqli使用localhost问题 Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /...