hadoop hdfs points to file:/// not hdfs://

2012-09-12T23:06:32

So I installed Hadoop via Cloudera Manager cdh3u5 on CentOS 5. When I run cmd

hadoop fs -ls /

I expected to see the contents of hdfs://localhost.localdomain:8020/

However, it had returned the contents of file:///

Now, this goes without saying that I can access my hdfs:// through

hadoop fs -ls hdfs://localhost.localdomain:8020/

But when it came to installing other applications such as Accumulo, accumulo would automatically detect Hadoop Filesystem in file:///

Question is, has anyone ran into this issue and how did you resolve it?

I had a look at HDFS thrift server returns content of local FS, not HDFS , which was a similar issue, but did not solve this issue. Also, I do not get this issue with Cloudera Manager cdh4.

Copyright License:
Author:「fair_data」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/12391226/hadoop-hdfs-points-to-file-not-hdfs

About “hadoop hdfs points to file:/// not hdfs://” questions

I'm using hadoop DFSAdmin api to report the dead blocks for an hdfs backup utility. enter link description here But by invoking my jar in the env (included the hadoop jars in classpath) java -class...
So I installed Hadoop via Cloudera Manager cdh3u5 on CentOS 5. When I run cmd hadoop fs -ls / I expected to see the contents of hdfs://localhost.localdomain:8020/ However, it had returned the
At the given time I have user file system in my application (apache CMIS). As it's growing bigger, I'm doubting to move to hadoop (HDFS) as we need to run some statistics on it as well. The problem...
I am a newbie to Hadoop. I have been reading that HDFS is mostly about "writing once, reading any times". I have a use case where I may have to make modifications to the files stored in HDFS. I hav...
Is there ln -s in hadoop HDFS? For instance: I have 10 files in HDFS /user/hadoop/input, which is 1.txt, 2.txt ... 10.txt Another dir in HDFS is /user/hadoop/test I just wanna copy 1 file from /
I'm getting below errors; java.lang.IllegalArgumentException: Wrong FS: hdfs://0.0.0.0:9000/user/hadoop/dataset/data.log, expected: file:/// Code snipset Configuration conf = new Configuratio...
I have tried all the different solutions provided at stackoverflow on this topic, but of no help Asking again with the specific log and the details Any help is appreciated I have one master node...
hello everyone i am very new in hadoop and i install hadoop in pseudo mode. configurations files are here core-site.xml <configuration> <property> <name>fs.default.nam..
Im trying to copy a file to hdfs using the below command. The filename is googlebooks-eng.... etc.... When I try to list the file within hdfs I don't see the filename being listed.What would be the
I setup the HDFS for Hadoop v.1.2.1 correctly and the hadoop fs -ls /user/${username} returns the files in the HDFS correctly. But when I want to run the following command I face a problem: userna...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.