Might be it is considered as local filesystem and listing local folders . It can happen with default configuration where “fs.defaultFS” is not configured. Please check HADOOP_CONF_DIR is having the hdfs-site.xml and core-site.xml with proper configuration.
--Brahma Reddy Battula From: kishore alajangi [mailto:alajangikish...@gmail.com] Sent: 19 September 2016 17:19 To: Vinodh Nagaraj Cc: user-h...@hadoop.apache.org; user@hadoop.apache.org Subject: Re: check with -R option. hadoop fs -ls -R <path> On Mon, Sep 19, 2016 at 1:55 PM, Vinodh Nagaraj <vinodh.db...@gmail.com<mailto:vinodh.db...@gmail.com>> wrote: Hi All, When I execute hdfs dfs -ls,it shows all the directory. I have created one directory in hadoop. Remaining files are created at OS level. Executing from Hadoop home/bin. Thanks, -- Sincere Regards, A.Kishore Kumar, Ph: +91 9246274575