2022-08-09 15:33:08 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-09-18 07:59:59 +00:00
|
|
|
# docker pull zeekling/hadoop
|
2022-08-09 15:33:08 +00:00
|
|
|
|
|
|
|
docker stop hadoop
|
|
|
|
|
|
|
|
docker rm hadoop
|
|
|
|
|
|
|
|
docker run -dit --name hadoop --privileged=true \
|
2022-09-28 14:47:19 +00:00
|
|
|
--hostname hadoop01 \
|
2022-09-18 07:59:59 +00:00
|
|
|
-p 8042 -p 8088 -p 19888 -p 50070 -p 50075 zeekling/hadoop
|
2022-08-09 15:33:08 +00:00
|
|
|
|