瀏覽代碼

HADOOP-5122. Fix format of fs.default.name value in libhdfs test conf. Contributed by Craig Macdonald.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@742622 13f79535-47bb-0310-9956-ffa450edef68
Thomas White 16 年之前
父節點
當前提交
d62abd674c
共有 2 個文件被更改,包括 9 次插入3 次删除
  1. 3 0
      CHANGES.txt
  2. 6 3
      src/c++/libhdfs/tests/conf/core-site.xml

+ 3 - 0
CHANGES.txt

@@ -77,6 +77,9 @@ Trunk (unreleased changes)
     HADOOP-4930. Implement a Linux native executable that can be used to 
     launch tasks as users. (Sreekanth Ramakrishnan via yhemanth)
 
+    HADOOP-5122. Fix format of fs.default.name value in libhdfs test conf.
+    (Craig Macdonald via tomwhite)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 6 - 3
src/c++/libhdfs/tests/conf/core-site.xml

@@ -16,9 +16,12 @@
 
 <property>
   <name>fs.default.name</name>
-  <value>localhost:23000</value>
-  <description>The name of the default file system.  Either the
-  literal string "local" or a host:port for DFS.</description>
+  <value>hdfs://localhost:23000/</value>
+  <description>The name of the default file system.  A URI whose
+  scheme and authority determine the FileSystem implementation.  The
+  uri's scheme determines the config property (fs.SCHEME.impl) naming
+  the FileSystem implementation class.  The uri's authority is used to
+  determine the host, port, etc. for a filesystem.</description>
 </property>
 
 </configuration>