Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> hadoop dfs -ls


Copy link to this message
-
Re: hadoop dfs -ls
Hi Nitin

It's likely that your hadoop command isn't finding the right configuration.
In particular it doesn't know where your namenode is
(fs.default.namesetting in core-site.xml)

Maybe you need to set the HADOOP_CONF_DIR environment variable to point to
your conf directory.

Dave

On 13 July 2012 14:11, Nitin Pawar <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have done setup numerous times but this time i did after some break.
>
> I managed to get the cluster up and running fine but when I do  hadoop dfs
> -ls /
>
> it actually shows me contents of linux file system
>
> I am using hadoop-1.0.3 on rhel5.6
>
> Can anyone suggest what I must have done wrong?
>
> --
> Nitin Pawar
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB