sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject git commit: SQOOP-1685: HCatalog integration is not working on JDK8
Date Thu, 06 Nov 2014 05:17:15 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 63d1fc221 -> 933e71ef3


SQOOP-1685: HCatalog integration is not working on JDK8

(Jarek Jarcec Cecho via Abraham Elmahrek)


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

Branch: refs/heads/trunk
Commit: 933e71ef303f5330c541a6e8f3c5641f368d8105
Parents: 63d1fc2
Author: Abraham Elmahrek <abraham@elmahrek.com>
Authored: Wed Nov 5 20:17:05 2014 -0800
Committer: Abraham Elmahrek <abraham@elmahrek.com>
Committed: Wed Nov 5 20:17:05 2014 -0800

----------------------------------------------------------------------
 .../sqoop/mapreduce/hcat/SqoopHCatUtilities.java      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/933e71ef/src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java b/src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
index 599548d..ee25d0e 100644
--- a/src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
+++ b/src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
@@ -179,6 +179,13 @@ public final class SqoopHCatUtilities {
     public V get(Object key) {
       return super.get(((String) key).toLowerCase());
     }
+
+    @Override
+    public void putAll(Map<? extends String, ? extends V> map) {
+      for(Map.Entry<? extends String, ? extends V> entry: map.entrySet()) {
+        put(entry.getKey(), entry.getValue());
+      }
+    }
   }
 
   /**
@@ -198,6 +205,13 @@ public final class SqoopHCatUtilities {
     public V get(Object key) {
       return super.get(((String) key).toUpperCase());
     }
+
+    @Override
+    public void putAll(Map<? extends String, ? extends V> map) {
+      for(Map.Entry<? extends String, ? extends V> entry: map.entrySet()) {
+        put(entry.getKey(), entry.getValue());
+      }
+    }
   }
 
   /**


Mime
View raw message