File tree Expand file tree Collapse file tree 3 files changed +0
-25
lines changed Expand file tree Collapse file tree 3 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,13 @@ export HADOOP_YARN_RESOURCE_MANAGER_PORT_DEFAULT="8088"
42
42
export HADOOP_YARN_NODE_MANAGER_PORT_DEFAULT=" 8042"
43
43
# export HADOOP_PORTS="8042 8088 50010 50020 50070 50075 50090"
44
44
45
- # not used any more, see instead tests/docker/hadoop-docker-compose.yml
46
- # export DOCKER_IMAGE="harisekhon/hadoop"
47
- # export MNTDIR="/py"
48
-
49
45
# NN comes up, but RM is really slow to come up, give 80 secs not 50
50
46
startupwait 80
51
47
52
48
check_docker_available
53
49
54
50
trap_debug_env hadoop
55
51
56
- docker_exec (){
57
- # docker-compose exec "$DOCKER_SERVICE" $MNTDIR/$@
58
- echo " docker exec '$DOCKER_CONTAINER ' $MNTDIR /$@ "
59
- docker exec " $DOCKER_CONTAINER " $MNTDIR /$@
60
- }
61
-
62
52
test_hadoop (){
63
53
local version=" $1 "
64
54
section2 " Setting up Hadoop $version test container"
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ export OPENTSDB_VERSIONS="${@:-latest}"
47
47
# export DOCKER_IMAGE="petergrace/opentsdb-docker"
48
48
export DOCKER_CONTAINER=" opentsdb-test"
49
49
50
- export MNTDIR=/pytools
51
-
52
50
export DATA_FILE=' tests/data/opentsdb_data.txt'
53
51
54
52
# if ! is_docker_available; then
@@ -58,13 +56,6 @@ export DATA_FILE='tests/data/opentsdb_data.txt'
58
56
59
57
startupwait 50
60
58
61
- docker_exec (){
62
- docker exec -i " $DOCKER_CONTAINER " /bin/bash << -EOF
63
- export JAVA_HOME=/usr
64
- $MNTDIR /$@
65
- EOF
66
- }
67
-
68
59
generate_test_data (){
69
60
if [ -f " $DATA_FILE " ]; then
70
61
echo " data file '$DATA_FILE ' already exists, not regenerating"
Original file line number Diff line number Diff line change @@ -36,19 +36,13 @@ export SOLR_PORTS="$SOLR_PORT_DEFAULT 8984 $SOLR_ZOOKEEPER_PORT_DEFAULT"
36
36
export ZOOKEEPER_HOST=" $SOLR_HOST "
37
37
38
38
export SOLR_HOME=" /solr"
39
- export MNTDIR=" /pl"
40
39
41
40
startupwait 30
42
41
43
42
check_docker_available
44
43
45
44
trap_debug_env solr zookeeper
46
45
47
- docker_exec (){
48
- echo " docker-compose exec '$DOCKER_SERVICE ' $MNTDIR /$@ "
49
- docker-compose exec " $DOCKER_SERVICE " $MNTDIR /$@
50
- }
51
-
52
46
test_solrcloud (){
53
47
local version=" $1 "
54
48
# SolrCloud 4.x needs some different args / locations
You can’t perform that action at this time.
0 commit comments