Scaling Namespaces and Optimizing Data Storage
Also available as:
PDF
loading table of contents...

Namespace view in a non-federated environment

Each cluster in an non-federated environment contains a single NameNode that provides a single independent namespace. In addition, the cluster does not share DataNodes with other clusters.

The core-site.xml file has the fs.default.name configuration property set to the NameNode of the cluster.

<property>
  <name>fs.default.name</name>
  <value>hdfs://namenodeOfClusterX:port</value>
</property>

Using the value of the fs.default.name configuration property, you can use path names relative to the NameNode of the cluster instead of the absolute path names. For example, you can use foo/bar to refer to hdfs://namenodeOfClusterX:port/foo/bar.