Skip to content

Commit 3cb1bf8

Browse files
committed
Updae hadoop lab 1 README
1 parent f1e509c commit 3cb1bf8

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docker-examples/hadoop/hadoop-01/README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ The above command will start a container and start hadoop within it. Once set up
1616

1717
Once finished, you can simply type `exit` to exit the container and stop and remove the container with `docker stop hadoop-01 && docker rm hadoop-01`
1818

19-
## If the above commands have already been executed and hadoop-01 setup then
20-
docker start hadoop-01
21-
docker attach hadoop-01
22-
is sufficient
23-
19+
## Reruns
20+
21+
If the above commands have already been executed and hadoop-02 setup then the below is sufficient:
22+
23+
```bash
24+
docker start hadoop-01
25+
docker attach hadoop-01
26+
```
27+
2428
## Running the lab examples
2529

2630
Inside the container, you can run the lab commands by running the shell script in `/tmp/from-container-host/lab_commands.sh`. Alternatively, you can play around and do it yourself, remembering that HDFS is installed in `/usr/local/hadoop/bin/hdfs`.

0 commit comments

Comments
 (0)