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

Fix default master addr hostname in master registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0, 1.6.0, HBASE-18095
    • 3.0.0-alpha-1, 2.3.0, HBASE-18095
    • Client
    • None

    Description

      Currently, master RPC server (not info server) always binds to the address endpoint to which the default hostname of the server resolves to. However, master registry picks the default end point to connect to as "localhost:16000" when "hbase.masters" are not configured. This is leading to a mismatch because the server may not be listening on the loopback address. This is a problem only in the scripts (single proc/pseudo distributed modes) because these are the cases in which "hbase.masters" is not populated by default.

      The fix is to pick the service endpoint the same way the RPC server does it.

      Attachments

        Issue Links

          Activity

            People

              bharathv Bharath Vissapragada
              bharathv Bharath Vissapragada
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: