hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayon Sinha <ayonsi...@yahoo.com>
Subject HDFS on EMR weird.
Date Tue, 06 Dec 2011 05:29:29 GMT
This is on a EMR cluster.

This does not work!
hadoop@ip-10-34-7-51:~$ hadoop dfs -mkdir hdfs://10.34.7.51:9000/user/foobar
mkdir: This file system object (hdfs://ip-10-34-7-51.ec2.internal:9000) does not support access
to the request path 'hdfs://10.34.7.51:9000/user/foobar' You possibly called FileSystem.get(conf)
when you should have called FileSystem.get(uri, conf) to obtain a file system supporting your
path.
Usage: java FsShell [-mkdir <path>]

This works!
hadoop@ip-10-34-7-51:~$ hadoop dfs -fs hdfs://10.34.7.51:9000 -mkdir /user/foobar

 
-Ayon
See My Photos on Flickr
Also check out my Blog for answers to commonly asked questions.

Mime
View raw message