浏览代码

HADOOP-8360. empty-configuration.xml fails xml validation. Contributed by Radim Kolar. (harsh)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1339613 13f79535-47bb-0310-9956-ffa450edef68
Harsh J 13 年之前
父节点
当前提交
e1f09365ca

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -67,6 +67,9 @@ Trunk (unreleased changes)
 
 
     HADOOP-8297. Writable javadocs don't carry default constructor (harsh)
     HADOOP-8297. Writable javadocs don't carry default constructor (harsh)
 
 
+    HADOOP-8360. empty-configuration.xml fails xml validation
+    (Radim Kolar via harsh)
+
   BUG FIXES
   BUG FIXES
 
 
     HADOOP-8177. MBeans shouldn't try to register when it fails to create MBeanName.
     HADOOP-8177. MBeans shouldn't try to register when it fails to create MBeanName.

+ 1 - 1
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/empty-configuration.xml

@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
 <!--
 <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    contributor license agreements.  See the NOTICE file distributed with
@@ -14,7 +15,6 @@
    See the License for the specific language governing permissions and
    See the License for the specific language governing permissions and
    limitations under the License.
    limitations under the License.
 -->
 -->
-<?xml version="1.0"?>
 <configuration>
 <configuration>
 </configuration>
 </configuration>