From 2fe4b05f7ae0e04f26f9542b19bc64eaf3d0748c Mon Sep 17 00:00:00 2001 From: Suraj B M Date: Mon, 29 Jan 2024 12:47:50 +0530 Subject: [PATCH] Modify README --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8bec033..57ddf2c 100644 --- a/README.md +++ b/README.md @@ -27,17 +27,13 @@ docker build -t hadoop . 6. Create a new container using the newly created image ```bash -docker run -it --name anyname hadoop bash +docker run -it -p 9870:3000 --name anyname hadoop bash ```
-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 -service ssh restart -stop-all.sh -hdfs namenode -format -start-all.sh -jps +init ```
@@ -49,8 +45,5 @@ docker exec -it anyname bash Once in, execute: ```bash -service ssh restart -stop-all.sh -start-all.sh -jps +restart ``` \ No newline at end of file