sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject sentry git commit: SENTRY-1391: Add more test cases for perm and temp UDF - fixed build (Hao Hao, Reviewed by: Anne Yu)
Date Sat, 11 Mar 2017 02:22:47 GMT
Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign 3cbaa91cf -> 27117ac61


SENTRY-1391: Add more test cases for perm and temp UDF - fixed build (Hao Hao, Reviewed by:
Anne Yu)


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

Branch: refs/heads/sentry-ha-redesign
Commit: 27117ac612eeccd4890915647b96f1ed31f2ba1a
Parents: 3cbaa91
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Fri Mar 10 18:22:12 2017 -0800
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Fri Mar 10 18:22:12 2017 -0800

----------------------------------------------------------------------
 .../sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/27117ac6/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java
b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java
index c996bd3..249d3bc 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPrivilegesAtFunctionScope.java
@@ -200,7 +200,7 @@ public class TestPrivilegesAtFunctionScope extends AbstractTestWithStaticConfigu
     try {
       verifyPrintFuncValues(statement, "SELECT printf_test('%s', value) FROM " + tableName1);
     } catch (Exception ex) {
-      LOGGER.error("test temp func printf_test failed with reason: " + ex.getStackTrace()
+ " " + ex.getMessage());
+      LOGGER.error("test temp func printf_test failed with reason: ", ex);
       fail("fail to test temp func printf_test");
     }
 
@@ -233,7 +233,7 @@ public class TestPrivilegesAtFunctionScope extends AbstractTestWithStaticConfigu
     try {
       verifyPrintFuncValues(statement, "SELECT printf_test_perm('%s', value) FROM " + tableName1);
     } catch (Exception ex) {
-      LOGGER.error("test perm func printf_test_perm failed with reason: " + ex.getStackTrace()
+ " " + ex.getMessage());
+      LOGGER.error("test perm func printf_test_perm failed with reason: ", ex);
       fail("Fail to test perm func printf_test_perm");
     }
 


Mime
View raw message