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

Use the ServerName in the Connection#getClient and Connection#getAdmin code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.95.2
    • 0.95.0
    • Client
    • None
    • Incompatible change, Reviewed

    Description

      This is again a subpart of HBASE-7590. The patch already in HBASE-7590 contains a bad fix for this (confusion with seq number). This JIRA tries to fix it correctly.

      The client code mostly uses hostname:port to get the connection to the region server. As a side effect if a server dies and comeback, the client won't notice. This is in theory, because the regions it's looking for are likely to be somewhere else.

      In any case, if we add some dead server management in the client (HBASE-7590), we need to manage do the distinction between the server, to be sure that we're not declaring dead a server that has restarted.

      Attachments

        1. 7861.v2.patch
          53 kB
          Nicolas Liochon
        2. 7861.v1.patch
          52 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: