File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -319,16 +319,20 @@ If you actually properly cleaned up the file system after running your last exam
319319
320320Sometimes, 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
You can’t perform that action at this time.
0 commit comments