-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70677/
-----------------------------------------------------------
Review request for ranger.
Bugs: RANGER-2432
https://issues.apache.org/jira/browse/RANGER-2432
Repository: ranger
Description
-------
**Following libraries can be upgraded:**
Hadoop version from 3.0.0 to 3.1.1
HBase version from 2.0.0 to 2.0.2
Hive version from 3.0.0 to 3.1.0
Atlas version from 1.1.0 to 2.0.0
**Note:** Disabled Hbase test cases as setup() in HBaseRangerAuthorizationTest
is failing. It could be due to any of the issues mentioned in
https://issues.apache.org/jira/browse/HBASE-21688. If its so, then probably fix
is not available in the released hbase versions as I have tried all released
Hbase > 2.0.0. Also have tried with all the combination of hadoop > 3.0.0
It appears this issue is due to changes in hadoop after 3.0.0 release but not
fixed from hbase end in released version.
I could not find any work around to get them working as earlier. If you have
any approach to fix these testcases please leave your comment here or in the
Jira.
**Stacktrace after the testcase failure:**
Thread 1 (main):
State: RUNNABLE
Blocked count: 50
Waited count: 499
Stack:
sun.management.ThreadImpl.getThreadInfo1(Native Method)
sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:178)
sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:139)
org.apache.hadoop.util.ReflectionUtils.printThreadInfo(ReflectionUtils.java:169)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.apache.hadoop.hbase.util.Threads$PrintThreadInfoLazyHolder$1.printThreadInfo(Threads.java:294)
org.apache.hadoop.hbase.util.Threads.printThreadInfo(Threads.java:341)
org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:221)
org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:413)
org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:258)
org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:115)
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1038)
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:984)
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:855)
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:849)
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:778)
org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest.setup(HBaseRangerAuthorizationTest.java:100)
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 207.69
s <<< FAILURE! - in
org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest
[ERROR] org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest
Time elapsed: 207.69 s <<< ERROR!
java.io.IOException: Shutting down
at
org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest.setup(HBaseRangerAuthorizationTest.java:100)
Caused by: java.lang.RuntimeException: Master not initialized after 200000ms
seconds
at
org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest.setup(HBaseRangerAuthorizationTest.java:100)
Diffs
-----
hbase-agent/src/test/java/org/apache/ranger/authorization/hbase/HBaseRangerAuthorizationTest.java
172b310f1
hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
62381743f
pom.xml 40b053bd2
Diff: https://reviews.apache.org/r/70677/diff/1/
Testing
-------
Tested Ranger Build, Ranger installation and Ranger admin service, zone,
policy, user and group crud operation.
Thanks,
Pradeep Agrawal