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

Remove duplicate entry for hbase.regionserver.regionSplitLimit in hbase-default.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      There are two entries for hbase.regionserver.regionSplitLimit in hbase-default.xml

      <property>
          <name>hbase.regionserver.regionSplitLimit</name>
          <value>2147483647</value>
          <description>Limit for the number of regions after which no more region
          splitting should take place. This is not a hard limit for the number of
          regions but acts as a guideline for the regionserver to stop splitting after
          a certain limit. Default is MAX_INT; i.e. do not block splitting.</description>
      </property>
      ....
      ....
      <property>
          <name>hbase.regionserver.regionSplitLimit</name>
          <value>1000</value>
          <description>
            Limit for the number of regions after which no more region splitting should take place.
            This is not hard limit for the number of regions but acts as a guideline for the regionserver
            to stop splitting after a certain limit. Default is set to 1000.
          </description>
      </property>
      

      Since property setting it to 1000 comes later, that's the real default value for now. From /conf of a master

      <property>
        <name>hbase.regionserver.regionSplitLimit</name>
        <value>1000</value>
        <source>hbase-default.xml</source>
      </property>
      

      Which will be right default value to keep moving forward?

      Attachments

        1. HBASE-13423.patch
          1 kB
          Apekshit Sharma
        2. HBASE-13423-branch-1.patch
          1 kB
          Apekshit Sharma

        Activity

          People

            appy Apekshit Sharma
            appy Apekshit Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: