You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2018/04/16 22:22:29 UTC
kudu git commit: hms_client-test: tweak large object batch size
Repository: kudu
Updated Branches:
refs/heads/master 62a829647 -> b8cf59a2f
hms_client-test: tweak large object batch size
Some test environments were having issues with this test depending on
their path layout. Long test tmp dir paths would push derby over some
kind of internal data size limit. The fix is to use more, smaller
batches.
Change-Id: I51abe01eb3f5b0226dc289ae0f2ade27b10d701b
Reviewed-on: http://gerrit.cloudera.org:8080/10081
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/b8cf59a2
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/b8cf59a2
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/b8cf59a2
Branch: refs/heads/master
Commit: b8cf59a2fe10aa218a4ab5b210e64cb839f3bf48
Parents: 62a8296
Author: Dan Burkert <da...@apache.org>
Authored: Mon Apr 16 14:45:22 2018 -0700
Committer: Dan Burkert <da...@apache.org>
Committed: Mon Apr 16 22:22:11 2018 +0000
----------------------------------------------------------------------
src/kudu/hms/hms_client-test.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/b8cf59a2/src/kudu/hms/hms_client-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/hms/hms_client-test.cc b/src/kudu/hms/hms_client-test.cc
index c308f90..708aeaa 100644
--- a/src/kudu/hms/hms_client-test.cc
+++ b/src/kudu/hms/hms_client-test.cc
@@ -297,8 +297,8 @@ TEST_P(HmsClientTest, TestLargeObjects) {
// Add a bunch of partitions to the table. This ensures we can send and
// receive really large thrift objects. We have to add the partitions in small
// batches, otherwise Derby chokes.
- const int kBatches = 25;
- const int kPartitionsPerBatch = 40;
+ const int kBatches = 40;
+ const int kPartitionsPerBatch = 25;
for (int batch_idx = 0; batch_idx < kBatches; batch_idx++) {
vector<hive::Partition> partitions;