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

ability to support includes/excludes list in Hbase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Later
    • 0.90.2
    • None
    • Client, regionserver
    • None
    • Hide
      This change adds support for includes and excludes list in HBase. To use it, specify the following properties in the hbase configuration file:
      hbase.hosts - for the includes file
      hbase.hosts.exclude - for the excludes file

      Both the files are optional. If the includes file is missing, any node is allowed (except the ones in the exclude file)

      If the includes file is present, then a node has to be present in the includes file and absent from the excludes file, to be able to successfully join.

      These files can be changed when the server is running. After changing these files, you can use the hbase console to issue 'refresh_nodes' command for the master to pick up the new config.

      If an online region server is added to the excludes file, 'refresh_nodes' will kick it out, with a specific exception. When the region server gets that exception, it shuts itself down.
      Show
      This change adds support for includes and excludes list in HBase. To use it, specify the following properties in the hbase configuration file: hbase.hosts - for the includes file hbase.hosts.exclude - for the excludes file Both the files are optional. If the includes file is missing, any node is allowed (except the ones in the exclude file) If the includes file is present, then a node has to be present in the includes file and absent from the excludes file, to be able to successfully join. These files can be changed when the server is running. After changing these files, you can use the hbase console to issue 'refresh_nodes' command for the master to pick up the new config. If an online region server is added to the excludes file, 'refresh_nodes' will kick it out, with a specific exception. When the region server gets that exception, it shuts itself down.

    Description

      An HBase cluster currently does not have the ability to specify that the master should accept regionservers only from a specified list. This helps preventing administrative errors where the same machine could be included in two clusters. It also allows the administrator to easily remove un-ssh-able machines from the cluster.

      Attachments

        1. excl-patch.txt
          18 kB
          Vishal Kathuria
        2. ASF.LICENSE.NOT.GRANTED--excl-patch.txt
          28 kB
          Vishal Kathuria

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhruba Dhruba Borthakur
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: