This is an automated email from the ASF dual-hosted git repository.
pvary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new d4248dc HIVE-22793: Update default settings in HMS Benchmarking tool
(Laszlo Pinter via Peter Vary)
d4248dc is described below
commit d4248dcaeeed5131cc8e2e6bbe335a047d10e28e
Author: Laszlo Pinter <[email protected]>
AuthorDate: Fri Jan 31 11:52:08 2020 +0100
HIVE-22793: Update default settings in HMS Benchmarking tool (Laszlo Pinter
via Peter Vary)
---
.../metastore-tools/metastore-benchmarks/README.md | 12 +++++++-----
.../org/apache/hadoop/hive/metastore/tools/Constants.java | 2 +-
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git
a/standalone-metastore/metastore-tools/metastore-benchmarks/README.md
b/standalone-metastore/metastore-tools/metastore-benchmarks/README.md
index a8c0a41..ab6683e 100644
--- a/standalone-metastore/metastore-tools/metastore-benchmarks/README.md
+++ b/standalone-metastore/metastore-tools/metastore-benchmarks/README.md
@@ -60,16 +60,18 @@ Alternatively you can use [bin/hbench](../bin/hbench)
script which use Maven to
java -jar hbench-jar-with-dependencies.jar -H `hostname` <optins> [test]...
### Examples
+1. Run all tests with default settings
+ java -jar hmsbench-jar-with-dependencies.jar -d `metastore_db_name` -H
`hostname`
-1. Run tests with 500 objects created, 10 times warm-up and exclude concurrent
operations and drop operations
+2. Run tests with 500 objects created, 10 times warm-up and exclude concurrent
operations and drop operations
- java -jar hmsbench-jar-with-dependencies.jar -H `hostname` -N 500 -W 10 -E
'drop.*' -E 'concurrent.*'
+ java -jar hmsbench-jar-with-dependencies.jar -d `metastore_db_name` -H
`hostname` -N 500 -W 10 -E 'drop.*' -E 'concurrent.*'
-2. Run tests, produce output in tab-separated format and write individual data
points in 'data' directory
+3. Run tests, produce output in tab-separated format and write individual data
points in 'data' directory
- java -jar hmsbench-jar-with-dependencies.jar -H host.com -o result.csv
--csv --savedata data
+ java -jar hmsbench-jar-with-dependencies.jar -d `metastore_db_name` -H
`hostname` -o result.csv --csv --savedata data
-3. Run tests on localhost
+4. Run tests on localhost
* save raw data in directory /tmp/benchdata
* sanitize results (remove outliers)
* produce tab-separated file
diff --git
a/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Constants.java
b/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Constants.java
index 5a584f6..f8d3bbc 100644
---
a/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Constants.java
+++
b/standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Constants.java
@@ -26,7 +26,7 @@ public final class Constants {
static final String OPT_DATABASE = "database";
static final String OPT_CONF = "conf";
static final String OPT_VERBOSE = "verbose";
- static final int HMS_DEFAULT_PORT = 8093;
+ static final int HMS_DEFAULT_PORT = 9083;
// Disable object construction
private Constants() {}