mirror of
https://github.com/silicoflare/docker-hadoop.git
synced 2026-05-26 12:09:54 +05:30
Modify README
This commit is contained in:
15
README.md
15
README.md
@@ -27,17 +27,13 @@ docker build -t hadoop .
|
|||||||
|
|
||||||
6. Create a new container using the newly created image
|
6. Create a new container using the newly created image
|
||||||
```bash
|
```bash
|
||||||
docker run -it --name anyname hadoop bash
|
docker run -it -p 9870:3000 --name anyname hadoop bash
|
||||||
```
|
```
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
7. Once the Docker prompt appears, execute the following commands one by one:
|
7. Once the prompt appears, execute the following command to initialize everything:
|
||||||
```bash
|
```bash
|
||||||
service ssh restart
|
init
|
||||||
stop-all.sh
|
|
||||||
hdfs namenode -format
|
|
||||||
start-all.sh
|
|
||||||
jps
|
|
||||||
```
|
```
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@@ -49,8 +45,5 @@ docker exec -it anyname bash
|
|||||||
|
|
||||||
Once in, execute:
|
Once in, execute:
|
||||||
```bash
|
```bash
|
||||||
service ssh restart
|
restart
|
||||||
stop-all.sh
|
|
||||||
start-all.sh
|
|
||||||
jps
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user