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

Add retry logic in HConnectionImplementation#resetZooKeeperTrackers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.4
    • 0.90.6
    • Client
    • None
    • Reviewed

    Description

      HBASE-4893 is related to this issue. In that issue, we know, if multi-threads share a same connection, once this connection got abort in one thread, the other threads will got a "HConnectionManager$HConnectionImplementation@18fb1f7 closed" exception.

      It solve the problem of "stale connection can't removed". But the orignal HTable instance cann't be continue to use. The connection in HTable should be recreated.

      Actually, there's two aproach to solve this:
      1. In user code, once catch an IOE, close connection and re-create HTable instance. We can use this as a workaround.
      2. In HBase Client side, catch this exception, and re-create connection.

      Attachments

        1. 5153-92.txt
          25 kB
          Ted Yu
        2. 5153-trunk.txt
          26 kB
          Ted Yu
        3. 5153-trunk.txt
          12 kB
          Ted Yu
        4. 5153-trunk-minimal.txt
          6 kB
          Lars Hofhansl
        5. 5153-trunk-v2.txt
          13 kB
          Lars Hofhansl
        6. HBASE-5153_addendum_0.90_1.patch
          11 kB
          ramkrishna.s.vasudevan
        7. HBASE-5153.patch
          4 kB
          Jieshan Bean
        8. HBase-5153-90-addendum.patch
          11 kB
          Jieshan Bean
        9. HBASE-5153-trunk.patch
          12 kB
          Jieshan Bean
        10. HBASE-5153-trunk-v2.patch
          12 kB
          Jieshan Bean
        11. HBASE-5153-V2.patch
          6 kB
          Jieshan Bean
        12. HBASE-5153-V3.patch
          19 kB
          Jieshan Bean
        13. HBASE-5153-V4-90.patch
          26 kB
          Jieshan Bean
        14. HBASE-5153-V5-90.patch
          26 kB
          Jieshan Bean
        15. HBASE-5153-V6-90.txt
          26 kB
          Jieshan Bean
        16. HBASE-5153-V6-90-minorchange.patch
          27 kB
          Jieshan Bean
        17. TestResults-hbase5153.out
          26 kB
          Jieshan Bean

        Issue Links

          Activity

            People

              jeason Jieshan Bean
              jeason Jieshan Bean
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: