HBASE-24912 Enlarge MemstoreFlusherChore/CompactionChecker period for unit test (#2285)

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Guanghao Zhang 2020-08-21 12:41:20 +08:00
parent acfa08cd87
commit 4667a971b1
11 changed files with 86 additions and 29 deletions

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.regionserver.msginterval</name> <name>hbase.regionserver.msginterval</name>
<value>1000</value> <value>1000</value>
@ -49,13 +56,6 @@
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>
</property> </property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description>
</property>
<property> <property>
<name>hbase.master.event.waiting.time</name> <name>hbase.master.event.waiting.time</name>
<value>50</value> <value>50</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -35,11 +35,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.master.event.waiting.time</name> <name>hbase.master.event.waiting.time</name>
<value>50</value> <value>50</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -29,6 +29,14 @@
tests to be responsive. tests to be responsive.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,12 +31,19 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>

View File

@ -31,31 +31,23 @@
</property> </property>
<property> <property>
<name>hbase.server.thread.wakefrequency</name> <name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</value> <value>100</value>
<description>Time to sleep in between searches for work (in milliseconds). <description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller. Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description> </description>
</property> </property>
<property> <property>
<name>hbase.regionserver.msginterval</name> <name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value> <value>1000</value>
<description>Interval between messages from the RegionServer to HMaster
in milliseconds. Default is 15. Set this value low if you want unit
tests to be responsive.
</description>
</property> </property>
<property> <property>
<name>hbase.defaults.for.version.skip</name> <name>hbase.defaults.for.version.skip</name>
<value>true</value> <value>true</value>
</property> </property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<description>Time to sleep in between searches for work (in milliseconds).
Used as sleep interval by service threads such as hbase:meta scanner and log roller.
</description>
</property>
<property> <property>
<name>hbase.master.event.waiting.time</name> <name>hbase.master.event.waiting.time</name>
<value>50</value> <value>50</value>