You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2015/09/21 20:19:11 UTC

[2/2] bigtop git commit: BIGTOP-1913: Update hive to 1.2.1

BIGTOP-1913: Update hive to 1.2.1


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

Branch: refs/heads/master
Commit: b9255e18b3325d84f3f0b89cb35d48c7c1d58d5f
Parents: f75130d
Author: Olaf Flebbe <of...@oflebbe.de>
Authored: Fri Sep 18 11:58:08 2015 +0200
Committer: Olaf Flebbe <of...@oflebbe.de>
Committed: Mon Sep 21 20:17:49 2015 +0200

----------------------------------------------------------------------
 .../src/common/hive/patch0-HIVE-9685.diff       | 29 --------------------
 bigtop.bom                                      |  2 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9255e18/bigtop-packages/src/common/hive/patch0-HIVE-9685.diff
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hive/patch0-HIVE-9685.diff b/bigtop-packages/src/common/hive/patch0-HIVE-9685.diff
deleted file mode 100644
index 2a3517e..0000000
--- a/bigtop-packages/src/common/hive/patch0-HIVE-9685.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/service/src/java/org/apache/hive/service/cli/CLIService.java b/service/src/java/org/apache/hive/service/cli/CLIService.java
-index 883bf9b..1a04a68 100644
---- a/service/src/java/org/apache/hive/service/cli/CLIService.java
-+++ b/service/src/java/org/apache/hive/service/cli/CLIService.java
-@@ -77,11 +77,6 @@ public CLIService(HiveServer2 hiveServer2) {
- 
-   @Override
-   public synchronized void init(HiveConf hiveConf) {
--    try {
--      applyAuthorizationConfigPolicy(hiveConf);
--    } catch (HiveException e) {
--      throw new RuntimeException("Error applying authorization policy on hive configuration", e);
--    }
-     this.hiveConf = hiveConf;
-     sessionManager = new SessionManager(hiveServer2);
-     addService(sessionManager);
-@@ -111,6 +106,12 @@ public synchronized void init(HiveConf hiveConf) {
-         }
-       }
-     }
-+    // creates connection to HMS and thus *must* occur after kerberos login above
-+    try {
-+      applyAuthorizationConfigPolicy(hiveConf);
-+    } catch (HiveException e) {
-+      throw new RuntimeException("Error applying authorization policy on hive configuration", e);
-+    }
-     setupBlockedUdfs();
-     super.init(hiveConf);
-   }

http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9255e18/bigtop.bom
----------------------------------------------------------------------
diff --git a/bigtop.bom b/bigtop.bom
index 7bcc186..a0aefb8 100644
--- a/bigtop.bom
+++ b/bigtop.bom
@@ -162,7 +162,7 @@ bigtop {
     'hive' {
       name    = 'hive'
       relNotes = 'Apache Hive'
-      version { base = '1.0.0'; pkg = base; release = 1 }
+      version { base = '1.2.1'; pkg = base; release = 1 }
       tarball { destination = "apache-${name}-${version.base}-src.tar.gz"
                 source      = destination }
       url     { download_path = "/$name/$name-${version.base}/"