incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/5] git commit: Trying to fix a test.
Date Mon, 22 Jun 2015 13:15:36 GMT
Trying to fix a test.


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

Branch: refs/heads/blur-0.2.4-parcel
Commit: d6f46d2cc3deabd6d75a6b38ce79a22bd89ed443
Parents: d4afbbf
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Jun 22 08:55:09 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Jun 22 08:55:09 2015 -0400

----------------------------------------------------------------------
 blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d6f46d2c/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
----------------------------------------------------------------------
diff --git a/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java b/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
index 53209a1..9148175 100644
--- a/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
+++ b/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
@@ -309,6 +309,9 @@ public class BlurSerDeTest {
     String userName = UserGroupInformation.getCurrentUser().getShortUserName();
     Connection connection = DriverManager.getConnection("jdbc:hive2://localhost:" + port,
userName, "");
 
+    UserGroupInformation currentUser = UserGroupInformation.getCurrentUser();
+
+    run(connection, "set blur.user.proxy=" + currentUser.getUserName());
     run(connection, "set blur.mr.update.disabled=" + disableMrUpdate);
     run(connection, "set hive.metastore.warehouse.dir=" + WAREHOUSE.toURI().toString());
     run(connection, "create database if not exists testdb");


Mime
View raw message