阅读113 返回首页    go 阿里云 go 技术社区[云栖]


Installation and Operation Guide for BigBench on MaxCompute Benchmarking Suite

Prerequisites
1、Create An Alibaba Cloud account.
2、The MaxCompute user-end software (preferably 0.27.0 or later) has been installed and configured. For details, see installation and configuration.
3、Java 1.7 (Oracle/OpenJDK) or later has been installed (preferably the 64-bit version).

Download the BigBench suite
1、Click this link to download the BigBench on MaxCompute suite.
2、You can also obtain the BigBench on MaxCompute suite from the GitHub address of the following project.

Configure BigBench on MaxCompute
1、Edit engineSettings.conf in the engines/maxcompute/conf folder and configure the MaxCompute client to run the file as follows.

BINARY="$MAXCOMPUTE_CLIENT_DIR/bin/odpscmd" 

2、Edit userSettings.conf in the conf folder and configure the project name of MaxCompute as follows.

export BIG_BENCH_DEFAULT_DATABASE="$MAXCOMPUTE_PROJECT_NAME"

3、Edit bigBench.properties in the conf folder and configure the test phase of BigBench as follows.

workload=BENCHMARK_START,POWER_TEST,THROUGHPUT_TEST_1,BENCHMARK_STOP,VALIDATE_POWER_TEST,VALIDATE_THROUGHPUT_TEST_1

Use the preceding default test phase unless otherwise specified.

Run the BigBench on MaxCompute benchmarking suite.**
Use the BigBench driver script to run BigBench benchmarking.

$INSTALL_DIR/bin/bigBench runBenchmark

BigBench on MaxCompute log directory
The running log and result log are stored in the following directory:

$INSTALL_DIR/logs

FAQ

How to set MaxCompute parameters in the BigBench benchmarking suite?
Set parameters for all MaxCompute queries in the engineSettings.sql file. The file is located at the following path:

$INSTALL_DIR/engines/maxcompute/conf/engineSettings.sql

The file contains a series of MaxCompute parameters. Use the default setting unless otherwise required.

How to set MaxCompute parameters for a specific query?
Set parameters in the engineLocalSettings.sql file in the queries directory. The file is located at the following path:

$INSTALL_DIR/engines/maxcompute/queries/q??/engineLocalSettings.sql

You can set MaxCompute parameters for a specific query in the preceding file. The BigBench suite automatically imports the file and overwrites the global variables of MaxCompute. Use the default setting unless otherwise required.

最后更新:2017-10-20 18:03:17

  上一篇:go  阿里移动技术Overview,详解阿里云移动云Apsara Mobile前世今生
  下一篇:go  【首发】地平线A+轮融资近亿美元,英特尔领投联手发力自动驾驶