Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22452

Master not initialized after 200000ms seconds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.2
    • None
    • hadoop3, test
    • None

    Description

      Apache Ranger master branch build is failing with Hbase 2.0.0 and Hadoop 3.1.1 combination.

      Actually its failing for Hadoop >= 3.0.1 and Hbase >= 2.0.0 combination.

       

      Steps to reproduce:

      1) Clone the ranger repo : git clone https://github.com/apache/ranger.git

      2) Open the ranger/pom.xml and change Hadoop version to 3.1.1 and Hbase version to 2.0.2

      3) run the command : 

      mvn clean compile package assembly:assembly install

       

      HBaseRangerAuthorizationTest test case is failing as master is not coming up.

       

      StackTrace: 

      [INFO] Running org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest
      Formatting using clusterid: testClusterID
      Process Thread Dump: Thread dump because: Master not initialized after 200000ms seconds
      ..
      ..
      ..
      Thread 1 (main):
        State: RUNNABLE
        Blocked count: 72
        Waited count: 503
        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: 209.094 s <<< FAILURE! - in org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest
      [ERROR] org.apache.ranger.authorization.hbase.HBaseRangerAuthorizationTest  Time elapsed: 209.094 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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: