----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72112/ -----------------------------------------------------------
Review request for hive, Denys Kuzmenko and Aron Hamvas. Repository: hive-git Description ------- Add the possibility to run benchmarks on opening lock in the HMS. Currently this change only introduces single-threaded/single client testing. I'm planning to add multi-client support in a separate change. Example parametrisation is as follows: hbench -M "lock" -N 10 -d hive_test -W 0 -L 100 This will create N number (10) of tables to lock and it'll execute the lock() for L number (100) of times. Diffs ----- standalone-metastore/metastore-tools/metastore-benchmarks/src/main/java/org/apache/hadoop/hive/metastore/tools/BenchmarkTool.java 041cd76234 standalone-metastore/metastore-tools/metastore-benchmarks/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSBenchmarks.java f53f2ef43b standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java 7cc1e42a8b standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java 101d6759c5 Diff: https://reviews.apache.org/r/72112/diff/1/ Testing ------- Thanks, Zoltan Chovan