<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: &amp;quot;Hadoop fs -ls&amp;quot; Produces the Local Filesystem's &amp;quot;ls -la&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4749#M788</link>
    <description>It means your node is not making a call to Hadoop file system It is running a local filesystem command "ls -a"...&lt;BR /&gt;Check your core-site.xml in hadoop conf directory for fs.default.name property and value should be your namenode hostname...&lt;BR /&gt;&lt;BR /&gt;Other way to do it through CM is, make sure the hdfs gateway role is installed on the host and deploy the client configurations..&lt;BR /&gt;&lt;BR /&gt;If you don't see the host in HDFS gateway, then you need to add gateway to the host and deploy client configurations...</description>
    <pubDate>Thu, 09 Jan 2014 19:05:48 GMT</pubDate>
    <dc:creator>Manikumar Juttukonda</dc:creator>
    <dc:date>2014-01-09T19:05:48Z</dc:date>
    <item>
      <title>"Hadoop fs -ls" Produces the Local Filesystem's "ls -la"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4743#M786</link>
      <description>&lt;P&gt;Yesterday I configured a 5 node cluster via Cloudera Manager. I then added another node, and was about to make a "Gateway Template" to assign to it through the Add Node workflow, when my Firefox crashed. I loaded it back up and manually assigned all the gateway roles to it (HDFS, MapReduce, HBase, Hive).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I issue "hadoop fs -ls" on the node, it basically prints out the results of "ls -la" on my local filesystem. As in, whichever folder I am in on the local filesystem, "hadoop fs -ls" will show me all the files, their permissions, and hidden files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the fix for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it hurt to make another node, and instead of assigning it Gateway roles through Cloudera Manager or downloading any Cloudera Agent, to simply download the client packages for HDFS, MapReduce, Hive, HBase, Pig, Oozie, etc. and manually connect it as a "gateway" node?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:52:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4743#M786</guid>
      <dc:creator>MatthewMoisen</dc:creator>
      <dc:date>2022-09-16T08:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: "Hadoop fs -ls" Produces the Local Filesystem's "ls -la"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4747#M787</link>
      <description>&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After using the host template to assign gateway roles to your host, did you deploy client configuration? This command will update all the files in /etc/hadoop/conf, /etc/hive/conf, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 18:59:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4747#M787</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-01-09T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Hadoop fs -ls" Produces the Local Filesystem's "ls -la"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4749#M788</link>
      <description>It means your node is not making a call to Hadoop file system It is running a local filesystem command "ls -a"...&lt;BR /&gt;Check your core-site.xml in hadoop conf directory for fs.default.name property and value should be your namenode hostname...&lt;BR /&gt;&lt;BR /&gt;Other way to do it through CM is, make sure the hdfs gateway role is installed on the host and deploy the client configurations..&lt;BR /&gt;&lt;BR /&gt;If you don't see the host in HDFS gateway, then you need to add gateway to the host and deploy client configurations...</description>
      <pubDate>Thu, 09 Jan 2014 19:05:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4749#M788</guid>
      <dc:creator>Manikumar Juttukonda</dc:creator>
      <dc:date>2014-01-09T19:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: "Hadoop fs -ls" Produces the Local Filesystem's "ls -la"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4751#M789</link>
      <description>Please check softlink on&lt;BR /&gt;/etc/alternatives/&lt;BR /&gt;&lt;BR /&gt;make sure they are pointing to correct hadoop config in /etc/hadoop/conf/core-site.xml etc.&lt;BR /&gt;&lt;BR /&gt;deploying client config from CM also helps to resolve all the softlinks</description>
      <pubDate>Thu, 09 Jan 2014 19:46:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Hadoop-fs-ls-quot-Produces-the-Local-Filesystem-s-quot/m-p/4751#M789</guid>
      <dc:creator>bijaya</dc:creator>
      <dc:date>2014-01-09T19:46:48Z</dc:date>
    </item>
  </channel>
</rss>

