<?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: Why  hdfs://mycluster/ different from / in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152913#M32693</link>
    <description>&lt;P&gt;Thanks, it worked.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 23:49:52 GMT</pubDate>
    <dc:creator>Roy</dc:creator>
    <dc:date>2016-06-23T23:49:52Z</dc:date>
    <item>
      <title>Why  hdfs://mycluster/ different from /</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152909#M32689</link>
      <description>&lt;P&gt;
	We have HDInsight cluster setup in Azure.&lt;/P&gt;&lt;P&gt;
	When I do hadoop fs -ls / it shows me &lt;/P&gt;&lt;PRE&gt;drwxr-xr-x   - root    supergroup          0 2016-06-17 20:56 /HdiNotebooks
drwxr-xr-x   - root    supergroup          0 2016-06-17 21:00 /HdiSamples
drwxr-xr-x   - hdfs    supergroup          0 2016-06-17 20:48 /ams
drwxr-xr-x   - hdfs    supergroup          0 2016-06-17 20:48 /amshbase
drwxrwxrwx   - yarn    hadoop              0 2016-06-17 20:48 /app-logs
drwxr-xr-x   - yarn    hadoop              0 2016-06-17 20:48 /atshistory
drwxr-xr-x   - sshuser supergroup          0 2016-06-21 18:38 /data
drwxr-xr-x   - root    supergroup          0 2016-06-17 20:59 /example
drwxr-xr-x   - hdfs    supergroup          0 2016-06-17 20:48 /hdp
drwxr-xr-x   - hdfs    supergroup          0 2016-06-17 20:48 /hive
drwxr-xr-x   - mapred  supergroup          0 2016-06-17 20:48 /mapred
drwx------   - sshuser supergroup          0 2016-06-20 14:22 /mapreducestaging
drwxrwxrwx   - mapred  hadoop              0 2016-06-17 20:48 /mr-history
drwxr-xr-x   - sshuser supergroup          0 2016-06-20 19:20 /sqoop
drwxrwxrwx   - hdfs    supergroup          0 2016-06-17 20:48 /tmp
drwxr-xr-x   - hdfs    supergroup          0 2016-06-17 20:48 /user


&lt;/PRE&gt;&lt;P&gt;But hadoop fs -ls hdfs://mycluster/&lt;/P&gt;&lt;P&gt;shows following result.&lt;/P&gt;&lt;PRE&gt;root@hn0-haspar:~# hadoop fs -ls hdfs://mycluster/
Found 3 items
drwxr-xr-x   - root hdfs          0 2016-06-21 18:48 hdfs://mycluster/data
drwx-wx-wx   - root hdfs          0 2016-06-17 20:57 hdfs://mycluster/tmp
drwx------   - root hdfs          0 2016-06-22 17:24 hdfs://mycluster/user


&lt;/PRE&gt;&lt;P&gt;Dont know where this different dir coming.&lt;/P&gt;&lt;P&gt;Cluster has HA configuration.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 03:57:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152909#M32689</guid>
      <dc:creator>Roy</dc:creator>
      <dc:date>2016-06-23T03:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why  hdfs://mycluster/ different from /</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152910#M32690</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11354/rp346.html" nodeid="11354"&gt;@roy p&lt;/A&gt;, in an HDInsight cluster, the default file system is &lt;A href="http://hadoop.apache.org/docs/r2.7.2/hadoop-azure/index.html"&gt;WASB&lt;/A&gt;, which is a Hadoop-compatible file system backed by Azure Storage.  The default file system is defined by property fs.defaultFS in core-site.xml.  In an HDInsight cluster, you'll see this property set to a "wasb:" URI.&lt;/P&gt;&lt;P&gt;When running &lt;A href="http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/FileSystemShell.html"&gt;Hadoop FileSystem Shell&lt;/A&gt; commands, if the path is not a qualified URI naming the scheme of the file system, then it assumes that you want the default file system.  Thus, running "hadoop fs -ls /" shows results from the WASB file system as persisted in Azure Storage.&lt;/P&gt;&lt;P&gt;HDInsight clusters also run a local instance of HDFS as a supplementary, non-default file system.  For a file system that is not the default, the shell commands may reference paths in that file system by qualifying the URI with the scheme.  Thus, running "hadoop fs -ls hdfs://mycluster/" shows results from the local HDFS file system, even though WASB is the default file system in an HDInsight cluster.&lt;/P&gt;&lt;P&gt;Since the two commands reference paths on two different file systems, each containing its own set of files, the final results displayed are different.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 04:16:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152910#M32690</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2016-06-23T04:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why  hdfs://mycluster/ different from /</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152911#M32691</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/381/cnauroth.html" nodeid="381"&gt;@Chris Nauroth&lt;/A&gt; for explanation. At present We have Namenode HA and we are putting data from Flume into this cluster. We are configuring  hdfs://mycluster/flume as destination in Flume sink.&lt;/P&gt;&lt;P&gt;Whats is the correct way to put data into default HDFS storage (WASB) from Flume and make it accessible from hadoop fs -ls / ?&lt;/P&gt;&lt;P&gt;Appreciate help in this.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 19:33:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152911#M32691</guid>
      <dc:creator>Roy</dc:creator>
      <dc:date>2016-06-23T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why  hdfs://mycluster/ different from /</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152912#M32692</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11354/rp346.html" nodeid="11354"&gt;@roy p&lt;/A&gt;, if you want to route the data from Flume to WASB instead of HDFS, then I expect you can achieve that by changing the "hdfs:" URI to a "wasb:" URI.  The full WASB URI will have an authority component that references an Azure Storage account and a container within that account.  You can get the WASB URI by looking at configuration property fs.defaultFS in core-site.xml.  If that doesn't work, then I recommend creating a new question specifically asking how to configure Flume to write to a file system different from HDFS.  Please also apply the "flume" tag to the question.  That will help get attention from Flume experts.</description>
      <pubDate>Thu, 23 Jun 2016 23:12:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152912#M32692</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2016-06-23T23:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why  hdfs://mycluster/ different from /</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152913#M32693</link>
      <description>&lt;P&gt;Thanks, it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-hdfs-mycluster-different-from/m-p/152913#M32693</guid>
      <dc:creator>Roy</dc:creator>
      <dc:date>2016-06-23T23:49:52Z</dc:date>
    </item>
  </channel>
</rss>

