Skip to content

Commit b00c128

Browse files
authored
Use -p 9000:9000 (and hide 8088) when launch hadoop (#1317)
1 parent 7598752 commit b00c128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_hdfs/hdfs_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o pipefail
1919

2020
HADOOP_VERSION=2.7.0
2121
docker pull sequenceiq/hadoop-docker:$HADOOP_VERSION
22-
docker run -d --rm --net=host --name=tensorflow-io-hdfs sequenceiq/hadoop-docker:$HADOOP_VERSION
22+
docker run -d --rm -p 9000:9000 --name=tensorflow-io-hdfs sequenceiq/hadoop-docker:$HADOOP_VERSION
2323
echo "Waiting for 30 secs until hadoop is up and running"
2424
sleep 30
2525
docker logs tensorflow-io-hdfs

0 commit comments

Comments
 (0)