HBase
  1. HBase
  2. HBASE-5153

Add retry logic in HConnectionImplementation#resetZooKeeperTrackers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.4
    • Fix Version/s: 0.90.6
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Jieshan Bean
              Reporter:
              Jieshan Bean
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development