Skip to content

Commit

Permalink
HBASE-24912 Enlarge MemstoreFlusherChore/CompactionChecker period for…
Browse files Browse the repository at this point in the history
… unit test (#2285)

Signed-off-by: stack <[email protected]>
  • Loading branch information
infraio authored Aug 21, 2020
1 parent 65d28da commit 54fe81e
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 29 deletions.
9 changes: 8 additions & 1 deletion hbase-asyncfs/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-backup/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-client/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-endpoint/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-examples/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
16 changes: 8 additions & 8 deletions hbase-mapreduce/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.msginterval</name>
<value>1000</value>
Expand All @@ -49,13 +56,6 @@
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
</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>
<name>hbase.master.event.waiting.time</name>
<value>50</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-procedure/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
10 changes: 9 additions & 1 deletion hbase-rest/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.master.event.waiting.time</name>
<value>50</value>
Expand Down
8 changes: 8 additions & 0 deletions hbase-server/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
tests to be responsive.
</description>
</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>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
9 changes: 8 additions & 1 deletion hbase-shell/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.compaction.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
Expand Down
18 changes: 5 additions & 13 deletions hbase-thrift/src/test/resources/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,22 @@
</property>
<property>
<name>hbase.server.thread.wakefrequency</name>
<value>1000</value>
<value>100</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>
<name>hbase.regionserver.msginterval</name>
<name>hbase.regionserver.compaction.check.period</name>
<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>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
<name>hbase.regionserver.flush.check.period</name>
<value>1000</value>
</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>
<name>hbase.defaults.for.version.skip</name>
<value>true</value>
</property>
<property>
<name>hbase.master.event.waiting.time</name>
Expand Down

0 comments on commit 54fe81e

Please sign in to comment.