title: hadoop hdfs points to file:/// not hdfs://
body: <p>So I installed Hadoop via Cloudera Manager cdh3u5 on CentOS 5. When I run cmd</p>
  
  <p><code>hadoop fs -ls /</code></p>
  
  <p>I expected to see the contents of hdfs://localhost.localdomain:8020/ </p>
  
  <p>However, it had returned the contents of <strong>file:///</strong></p>
  
  <p>Now, this goes without saying that I can access my <strong>hdfs://</strong> through</p>
  
  <p><code>hadoop fs -ls hdfs://localhost.localdomain:8020/</code></p>
  
  <p>But when it came to installing other applications such as Accumulo, accumulo would automatically detect Hadoop Filesystem in file:///</p>
  
  <p>Question is, has anyone ran into this issue and how did you resolve it?</p>
  
  <p>I had a look at <a href="https://stackoverflow.com/questions/10331992/hdfs-thrift-server-returns-content-of-local-fs-not-hdfs">HDFS thrift server returns content of local FS, not HDFS</a> , which was a similar issue, but did not solve this issue.
  Also, I do not get this issue with Cloudera Manager cdh4.</p>