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

Normalizer switch in configuration is not used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0, 1.3.0, 2.0.0
    • master
    • None
    • Reviewed
    • The config parameter, hbase.normalizer.enabled, has been dropped since it is not used in the code base.

    Description

      The newly added global switch to enable the new normalizer functionality is never used apparently, meaning it is always on. The hbase-default.xml has this:

        <property>
          <name>hbase.normalizer.enabled</name>
          <value>false</value>
          <description>If set to true, Master will try to keep region size
            within each table approximately the same.</description>
        </property>
      

      But only a test class uses it to set the switch to "true". We should implement a proper if statement that checks this value and properly disables the feature cluster wide if not wanted.

      Attachments

        1. HBASE-15098.v1.patch
          3 kB
          Ted Yu

        Issue Links

          Activity

            People

              tedyu Zhihong Yu
              larsgeorge Lars George
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: