You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yao Xu (Code Review)" <ge...@cloudera.org> on 2019/06/06 04:03:42 UTC
[kudu-CR] KUDU-2670 Disable rowset compact for test of SplitKeyRange
Hello Kudu Jenkins, Adar Dembo, Grant Henke,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13517
to look at the new patch set (#2).
Change subject: KUDU-2670 Disable rowset compact for test of SplitKeyRange
......................................................................
KUDU-2670 Disable rowset compact for test of SplitKeyRange
We found that in the SplitKeyRange related test, in most cases,
the number of KeyRange is equal to the number of tablets, but we
expect the number of KeyRange to be greater than the number of tablets.
In the test, the DRS generated by flush MRS will be small, rowset
compact will merge them to a big one. This will reduce the number
of DRS in the tablet. If end up with only one DRS in the tablet,
then the tablet will only have one key range.
So, I added --enable_rowset_compaction=false to disable rowset compact,
ensure that the number of KeyRange is greater than the number of tablets.
Change-Id: I89805a1fe2fd4d6c459e4abc0b1b9ec27c3e9588
---
M java/kudu-client/src/test/java/org/apache/kudu/client/TestSplitKeyRange.java
M java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/DefaultSourceTest.scala
2 files changed, 13 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/17/13517/2
--
To view, visit http://gerrit.cloudera.org:8080/13517
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I89805a1fe2fd4d6c459e4abc0b1b9ec27c3e9588
Gerrit-Change-Number: 13517
Gerrit-PatchSet: 2
Gerrit-Owner: Yao Xu <oc...@gmail.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)