Browse Source

HDFS-10886. Replace fs.default.name with fs.defaultFS in viewfs document.

Brahma Reddy Battula 8 years ago
parent
commit
bbdf350ff9

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java

@@ -83,7 +83,7 @@ import org.apache.hadoop.util.Time;
  * ViewFs is specified with the following URI: <b>viewfs:///</b> 
  * <p>
  * To use viewfs one would typically set the default file system in the
- * config  (i.e. fs.default.name< = viewfs:///) along with the
+ * config  (i.e. fs.defaultFS < = viewfs:///) along with the
  * mount table config variables as described below. 
  * 
  * <p>

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ViewFs.md

@@ -108,7 +108,7 @@ The mount points of a mount table are specified in the standard Hadoop configura
 
 ```xml
 <property>
-  <name>fs.default.name</name>
+  <name>fs.defaultFS</name>
   <value>viewfs://clusterX</value>
 </property>
 ```