hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [25/50] [abbrv] hive git commit: HIVE-16081 : allow 0.23 shim creation for Hadoop 3 (Sergey Shelukhin, reviewed by Gunther Hagleitner)
Date Wed, 08 Mar 2017 03:29:03 GMT
HIVE-16081 : allow 0.23 shim creation for Hadoop 3 (Sergey Shelukhin, reviewed by Gunther Hagleitner)


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

Branch: refs/heads/hive-14535
Commit: 93db527f4700a415a6c1e00f6f05288146fc0d9a
Parents: 081f8b6
Author: Sergey Shelukhin <sershe@apache.org>
Authored: Thu Mar 2 18:54:58 2017 -0800
Committer: Sergey Shelukhin <sershe@apache.org>
Committed: Thu Mar 2 18:54:58 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/93db527f/shims/common/src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java
----------------------------------------------------------------------
diff --git a/shims/common/src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java b/shims/common/src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java
index 0e27851..44f24b2 100644
--- a/shims/common/src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java
+++ b/shims/common/src/main/java/org/apache/hadoop/hive/shims/ShimLoader.java
@@ -150,6 +150,7 @@ public abstract class ShimLoader {
 
     switch (Integer.parseInt(parts[0])) {
     case 2:
+    case 3:
       return HADOOP23VERSIONNAME;
     default:
       throw new IllegalArgumentException("Unrecognized Hadoop major version number: " + vers);


Mime
View raw message