hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Phulari (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .
Date Mon, 08 Jun 2009 21:38:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717435#action_12717435
] 

Ravi Phulari commented on HADOOP-5937:
--------------------------------------

Manually tested this patch on command line.
{code}
hoaxhost:branch-0.20 rphulari$ bin/hadoop dfsadmin -safemode enter
Safe mode is ON
hoaxhost:branch-0.20 rphulari$ bin/hadoop jar build/hadoop-0.20.1-dev-examples.jar wordcount
dt op
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.SafeModeException:
Cannot delete /Users/rphulari/tmpForHadoop/hadoop-rphulari/mapred/system/job_200906081432_0002.
Name node is in safe mode.
Use "hadoop dfsadmin -safemode leave" to turn safe mode off.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.deleteInternal(FSNamesystem.java:1679)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.delete(FSNamesystem.java:1659)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.delete(NameNode.java:517)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        ....
hoaxhost:branch-0.20 rphulari$ bin/hadoop dfsadmin -safemode leave
Safe mode is OFF
{code}

> Correct  info message  "Use hadoop dfs -safemode option"  to  " Use hdfs dfsadmin -safemode
option"  . 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5937
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5937
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>            Priority: Minor
>             Fix For: 0.20.1
>
>         Attachments: HADOOP-5937.patch, HADOOPv20-5937.patch
>
>
> Safemode error message  
> Use "hadoop dfs -safemode leave" to turn safe mode off.
>   should be corrected as 
> Use "hdfs dfsadmin -safemode leave" to turn safe mode off.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message