File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -43,23 +43,12 @@ check_docker_available
43
43
44
44
trap_debug_env hbase
45
45
46
- export MNTDIR=" /pytools"
46
+ # used by docker_exec
47
+ export DOCKER_MOUNT_DIR=/pytools
48
+ export DOCKER_JAVA_HOME=/usr
47
49
48
50
startupwait 30
49
51
50
- docker_exec (){
51
- # gets ValueError: file descriptor cannot be a negative integer (-1), -T should be the workaround but hangs
52
- # docker-compose exec -T "$DOCKER_SERVICE" /bin/bash <<-EOF
53
- echo " docker exec -i " $DOCKER_CONTAINER " /bin/bash <<-EOF
54
- export JAVA_HOME=/usr
55
- $MNTDIR /$@
56
- EOF"
57
- run docker exec -i " $DOCKER_CONTAINER " /bin/bash << -EOF
58
- export JAVA_HOME=/usr
59
- $MNTDIR /$@
60
- EOF
61
- }
62
-
63
52
test_hbase (){
64
53
local version=" $1 "
65
54
section2 " Setting up HBase $version test container"
You can’t perform that action at this time.
0 commit comments