Skip to content

Commit 73dd7ce

Browse files
committed
Fixed minor error in Hadoop docu
1 parent f51e199 commit 73dd7ce

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

hadoop/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,20 @@ If you actually properly cleaned up the file system after running your last exam
319319

320320
Sometimes, you may try to copy some file or folder to HDFS and get an error that no such file or directory exists. Then do the following:
321321

322-
1. Execute `sbin/start-dfs.sh`
323-
2. Delete the folder `/tmp/hadoop-<userName>`, where `<userName>` is to replaced with your local login/user name.
324-
3. Now perform
325-
326-
bin/hdfs namenode -format
327-
sbin/start-dfs.sh
328-
bin/hdfs dfs -mkdir /user
329-
bin/hdfs dfs -mkdir /user/<userName>
330-
331-
4. If you now repeat the operation that failed before, it should succeed.
322+
<ol>
323+
<li>Execute `sbin/stop-dfs.sh`</li>
324+
<li>Delete the folder `/tmp/hadoop-<userName>`, where `<userName>` is to replaced with your local login/user name.</li>
325+
<li>Now perform
326+
<pre>
327+
bin/hdfs namenode -format
328+
sbin/start-dfs.sh
329+
bin/hdfs dfs -mkdir /user
330+
bin/hdfs dfs -mkdir /user/<userName>
331+
</pre>
332+
</li><li>
333+
If you now repeat the operation that failed before, it should succeed.
334+
</li>
335+
</ol>
332336

333337
## 3. Licensing
334338

0 commit comments

Comments
 (0)