In a virtual machine using 3 linux systems configured hadoop installation , start start-all.sh
error
2011-07-02 05:22:20,702 INFO org.apache.hadoop.mapred.JobTracker: problem cleaning system directory: hdfs :/ / m: 9000/home / hadoop / tmp / mapred / system
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete / home / hadoop / tmp / mapred / system. Name ; node is in safe mode.
The ratio of reported blocks 0.0000 has not reached the threshold 0.9990. Safe mode will be turned off automatically.
shut down the primary node [hadoop @ m_184 ~] hadoop dfsadmin-safemode leave
Show Safe mode is OFF
which
/ wordcount / input / wordcount / output
are using hadoop dfs-mkdir to create a directory in HDFS , and upload the file
now run WordCount no response,
[hadoop @ m_184 ~] hadoop jar WordCount.jar WordCount / wordcount / input / wordcount / output
Why is this ?
Thank you !
------ Solution ---------------------------------------- ----
Name node is in safe mode.
lift safe mode
------ For reference only ------------------------------- --------
can do ? You can communicate with me , my qq109492927
没有评论:
发表评论