Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13453 Master should not bind to region server ports
  3. HBASE-13479

[branch-1.0] Master should not bind to region server ports

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.1
    • None
    • None
    • Reviewed
    • Hide
      HBase master now respects the configuration hbase.master.port if set. By default it is not set in hbase-default.xml in 1.0.x releases. Master also respects the parameter hbase.master.info.port, which is not changed. However, master will not bind to hbase.regionserver.info.port anymore. It only binds to hbase.master.info.port.

      The behavior:
      1.0.0:
      RPC: hbase.master.port IS NOT respected. Master binds to hbase.regionserver.port
      INFO: Master binds to hbase.master.info.port AND hbase.regionserver.info.port.
      By default, master will use: 16010, 16020, 16030
      1.0.1+:
      RPC: hbase.master.port IS respected if configured. Master binds to hbase.regionserver.port by default if not configured.
      INFO: Master binds to hbase.master.info.port only.
      By default, master will use: 16010, 16020.
      Show
      HBase master now respects the configuration hbase.master.port if set. By default it is not set in hbase-default.xml in 1.0.x releases. Master also respects the parameter hbase.master.info.port, which is not changed. However, master will not bind to hbase.regionserver.info.port anymore. It only binds to hbase.master.info.port. The behavior: 1.0.0: RPC: hbase.master.port IS NOT respected. Master binds to hbase.regionserver.port INFO: Master binds to hbase.master.info.port AND hbase.regionserver.info.port. By default, master will use: 16010, 16020, 16030 1.0.1+: RPC: hbase.master.port IS respected if configured. Master binds to hbase.regionserver.port by default if not configured. INFO: Master binds to hbase.master.info.port only. By default, master will use: 16010, 16020.

    Description

      In parent jira, we have brought back old config value hbase.master.port and made it so that if it is configured (which is by default), master does not bind to the region servers's RPC and info ports now. We have realized that master binding to RS ports turns out to be a pain point and unnecessary frustration for users (although we were expecting the opposite).

      Let's use this jira to see what we can do in 1.0.x series. In 1.0.0, master binds to ports
      hbase.regionserver.port
      hbase.master.info.port
      hbase.regionserver.info.port

      In 1.0.x, we have a couple of options I think:
      (a) don't do anything.
      (b) Commit patch from master as it is. All upgrades from 1.0.0 will observe changed ports.
      (c) Commit the patch, disabled by default. If user has hbase.master.port set, bind to the port. Only users who set the conf value will observe changed ports.
      (d) Commit the patch with an extra config option hbase.master.compat.mode. The users have to explicitly enable this in 1.0.

      Attachments

        1. hbase-13479_v1.patch
          3 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: