Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3c8a24 + 18d777d commit f30f0d4Copy full SHA for f30f0d4
namenode/run.sh
@@ -11,6 +11,9 @@ if [ -z "$CLUSTER_NAME" ]; then
11
exit 2
12
fi
13
14
+echo "remove lost+found from $namedir"
15
+rm -r $namedir/lost+found
16
+
17
if [ "`ls -A $namedir`" == "" ]; then
18
echo "Formatting namenode name directory: $namedir"
19
$HADOOP_HOME/bin/hdfs --config $HADOOP_CONF_DIR namenode -format $CLUSTER_NAME
0 commit comments