testsuite: Use more ansible for setup
This commit is contained in:
parent
b1e7dac0f9
commit
5a825785e3
6 changed files with 13 additions and 15 deletions
|
@ -13,9 +13,7 @@ HDFS_CONFIG_DATANODES="localhost"
|
|||
HDFS_TEST_SUITE_EXECUTABLE="hadoop/bin/hdfs"
|
||||
|
||||
SCRIPT_PATH=$(dirname "$0")
|
||||
source $SCRIPT_PATH/setup.sh
|
||||
|
||||
declare -a DEPS=("java" "ansible-playbook")
|
||||
source $SCRIPT_PATH/../../setup.sh
|
||||
|
||||
create_hdfs_core_config_template() {
|
||||
#printf "Writing HDFS core-site.xml config\n"
|
||||
|
@ -114,7 +112,6 @@ EOF
|
|||
echo "$CONFIG"
|
||||
}
|
||||
|
||||
check_dependencies
|
||||
HDFS_CONFIG=$(create_hdfs_config_template)
|
||||
HDFS_CONFIG_CORE=$(create_hdfs_core_config_template)
|
||||
HDFS_CONFIG_MAPRED=$(create_hdfs_mapred_config_template)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue