I don't think you need to change anything, no.

If you do >hadoop fs -ls /

You should have the same output as your hadoop fs -ls hdfs://localhost/

Regards,
LLoyd

On 18 March 2016 at 11:41, Vinodh Nagaraj <vinodh.db...@gmail.com> wrote:

> Hi All,
>
> I configured Hadoop  2.7.1 on Windows 32 bit.
>
> Core-site.xml
> -------------------------
> <configuration>
> <property>
> <name>fs.defaultFS</name>
> <value>hdfs://localhost/</value>
> </property>
>
> when  i execute the below command,it shows error.
>
> C:\hadoop-2.7.1\hadoop-2.7.1\sbin>*hadoop fs -ls*
> ls: `.': No such file or directory
>
> If i execute like below,it shows output.
>
> C:\hadoop-2.7.1\hadoop-2.7.1\sbin>*hadoop fs -ls hdfs://localhost/*
>
>
> *Do i have to change anything in core-site.xml file ?*
>
>
> *Any help please.*
>
> Thanks & Regards,
> Vinodh.N
>
>

Reply via email to