Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hbase-common/src/main/resources/hbase-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ possible configurations would overwhelm and obscure the important.
</property>
<property>
<name>hbase.compaction.after.bulkload.enable</name>
<value>true</value>
<value>false</value>
<description>Request Compaction after bulkload immediately.
If bulkload is continuous, the triggered compactions may increase load,
bring about performance side effect.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7029,7 +7029,7 @@ public Map<byte[], List<Path>> bulkLoadHFiles(Collection<Pair<byte[], String>> f
}

isSuccessful = true;
if (conf.getBoolean(COMPACTION_AFTER_BULKLOAD_ENABLE, true)) {
if (conf.getBoolean(COMPACTION_AFTER_BULKLOAD_ENABLE, false)) {
// request compaction
familyWithFinalPath.keySet().forEach(family -> {
HStore store = getStore(family);
Expand Down
3 changes: 2 additions & 1 deletion src/main/asciidoc/_chapters/hbase-default.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,10 @@ Maximum retries. This is a maximum number of iterations
Request Compaction after bulkload immediately.
If bulkload is continuous, the triggered compactions may increase load,
bring about performance side effect.
(For HBase-2.x, the default value for "hbase.compaction.after.bulkload.enable" is true)
+
.Default
`true`
`false`

[[hbase.balancer.period
]]
Expand Down