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

If zookeeper.znode.parent is not specifed explicitly in Client code then HTable object loops continuously waiting for the root region by using /hbase as the base node.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.3
    • 0.92.0
    • Client
    • None
    • Reviewed

    Description

      Change the zookeeper.znode.parent property (default is /hbase).
      Now do not specify this change in the client code.

      Use the HTable Object.
      The HTable is not able to find the root region and keeps continuously looping.

      Find the stack trace:
      ====================
      Object.wait(long) line: not available [native method]
      RootRegionTracker(ZooKeeperNodeTracker).blockUntilAvailable(long) line: 122

      RootRegionTracker.waitRootRegionLocation(long) line: 73
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[], boolean) line: 578
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[]) line: 558
      HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[],
      byte[], byte[], boolean, Object) line: 687
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[], boolean) line: 589
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[]) line: 558
      HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[],
      byte[], byte[], boolean, Object) line: 687
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[], boolean) line: 593
      HConnectionManager$HConnectionImplementation.locateRegion(byte[],
      byte[]) line: 558
      HTable.<init>(Configuration, byte[]) line: 171
      HTable.<init>(Configuration, String) line: 145
      HBaseTest.test() line: 45

      Attachments

        1. HBASE-4138_trunk_3.patch
          15 kB
          ramkrishna.s.vasudevan
        2. HBASE-4138_trunk_2.patch
          15 kB
          ramkrishna.s.vasudevan
        3. HBASE-4138_trunk_1.patch
          18 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              ram_krish ramkrishna.s.vasudevan
              ram_krish ramkrishna.s.vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: