You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hcatalog-commits@incubator.apache.org by ga...@apache.org on 2013/01/01 00:20:55 UTC
svn commit: r1427262 - in /incubator/hcatalog/branches/branch-0.5:
CHANGES.txt core/src/main/java/org/apache/hcatalog/common/HCatContext.java
Author: gates
Date: Tue Jan 1 00:20:55 2013
New Revision: 1427262
URL: http://svn.apache.org/viewvc?rev=1427262&view=rev
Log:
HCATALOG-577 HCatContext causes persistance of undesired jobConf parameters
Modified:
incubator/hcatalog/branches/branch-0.5/CHANGES.txt
incubator/hcatalog/branches/branch-0.5/core/src/main/java/org/apache/hcatalog/common/HCatContext.java
Modified: incubator/hcatalog/branches/branch-0.5/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.5/CHANGES.txt?rev=1427262&r1=1427261&r2=1427262&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.5/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.5/CHANGES.txt Tue Jan 1 00:20:55 2013
@@ -156,6 +156,8 @@ Release 0.5.0 - Unreleased
OPTIMIZATIONS
BUG FIXES
+ HCAT-577 HCatContext causes persistance of undesired jobConf parameters (khorgath via gates)
+
HCAT-584 Changes in HCAT-538 break Pig stores into non-partitioned tables (gates)
HCAT-576 HCATALOG-527 Broke backward compatibility (gates)
Modified: incubator/hcatalog/branches/branch-0.5/core/src/main/java/org/apache/hcatalog/common/HCatContext.java
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.5/core/src/main/java/org/apache/hcatalog/common/HCatContext.java?rev=1427262&r1=1427261&r2=1427262&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.5/core/src/main/java/org/apache/hcatalog/common/HCatContext.java (original)
+++ incubator/hcatalog/branches/branch-0.5/core/src/main/java/org/apache/hcatalog/common/HCatContext.java Tue Jan 1 00:20:55 2013
@@ -66,7 +66,7 @@ public enum HCatContext {
if (conf != newConf) {
for (Map.Entry<String, String> entry : conf) {
- if (newConf.get(entry.getKey()) == null) {
+ if ((entry.getKey().matches("hcat.*")) && (newConf.get(entry.getKey()) == null)) {
newConf.set(entry.getKey(), entry.getValue());
}
}