hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asur...@apache.org
Subject hadoop git commit: Addendum patch for Configuration fix. (Jason Lowe via asuresh)
Date Mon, 13 Nov 2017 22:04:04 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 4908a8970 -> b07e68b02


Addendum patch for Configuration fix. (Jason Lowe via asuresh)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b07e68b0
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b07e68b0
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b07e68b0

Branch: refs/heads/trunk
Commit: b07e68b02a34d272114dda4194992a847928aef8
Parents: 4908a89
Author: Arun Suresh <asuresh@apache.org>
Authored: Mon Nov 13 14:03:50 2017 -0800
Committer: Arun Suresh <asuresh@apache.org>
Committed: Mon Nov 13 14:03:50 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/conf/Configuration.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b07e68b0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
index dfbeec7..fce2194 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
@@ -2962,7 +2962,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
             // xi:include are treated as inline and retain current source
             URL include = getResource(confInclude);
             if (include != null) {
-              Resource classpathResource = new Resource(include, name);
+              Resource classpathResource = new Resource(include, name,
+                  wrapper.isParserRestricted());
               loadResource(properties, classpathResource, quiet);
             } else {
               URL url;
@@ -2983,7 +2984,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
                 }
                 url = href.toURI().toURL();
               }
-              Resource uriResource = new Resource(url, name);
+              Resource uriResource = new Resource(url, name,
+                  wrapper.isParserRestricted());
               loadResource(properties, uriResource, quiet);
             }
             break;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message