David Ribeiro Alves has posted comments on this change. Change subject: KUDU-1970: node density integration test ......................................................................
Patch Set 10: (4 comments) http://gerrit.cloudera.org:8080/#/c/6662/9/src/kudu/integration-tests/dense_node-itest.cc File src/kudu/integration-tests/dense_node-itest.cc: PS9, Line 71: > I'll add some documentation. right, most are benchmarks among other tests or actual tests that test for correctness, which this one doesn't do. maybe we should establish a new precendent? it'd be nice to have clear test and file names for these kinds of tests. PS9, Line 100: Substitute("--log_container_max > The goal isn't to mirror a real deployment; it's to get the MM to flush: sounds reasonable PS9, Line 131: // With the amount of data we're going to write, we need to make sure the : // tserver has enough time to start back up (startup is only considered to be : / > But the goal of the test is to maximize metadata, which means smaller colum k, thats fair http://gerrit.cloudera.org:8080/#/c/6662/10/src/kudu/integration-tests/test_workload.cc File src/kudu/integration-tests/test_workload.cc: PS10, Line 233: // Do some sanity checks on the schema. They reflect how the rest of : // TestWorkload is going to use the schema. : CHECK_GT(schema_.num_columns(), 0) << "Schema should have at least one column"; : vector<int> key_indexes; : schema_.GetPrimaryKeyColumnIndexes(&key_indexes); : CHECK_EQ(1, key_indexes.size()) << "Schema should have just one key column"; : CHECK_EQ(0, key_indexes[0]) << "Schema's key column should be index 0"; : KuduColumnSchema key = schema_.Column(0); : CHECK_EQ("key", key.name()) << "Schema column should be named 'key'"; : CHECK_EQ(KuduColumnSchema::INT32, key.type()) << "Schema key column should be of type INT32"; why not do this when the schema is set? we know that the simple schema abides by these rules. -- To view, visit http://gerrit.cloudera.org:8080/6662 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie9b5d01557eb41d386ce92f576ed01ec658e8e7d Gerrit-PatchSet: 10 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Dan Burkert <danburk...@apache.org> Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-HasComments: Yes