You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2009/05/29 03:22:45 UTC

[jira] Created: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

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, 0.21.0


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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari updated HADOOP-5937:
---------------------------------

    Status: Patch Available  (was: Open)

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Commented: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ramya R (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717169#action_12717169 ] 

Ramya R commented on HADOOP-5937:
---------------------------------

I think the above patch should not be applied to branch 20 as bin/hdfs is supported only after the project split. Hence opened HADOOP:5990.

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-5937:
-------------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

The failed tests are not related.

I have committed this.  Thanks, Ravi!

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Commented: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717485#action_12717485 ] 

Hadoop QA commented on HADOOP-5937:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12410163/HADOOPv20-5937.patch
  against trunk revision 782708.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/482/console

This message is automatically generated.

> 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, 0.21.0
>
>         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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-5937:
--------------------------------

    Hadoop Flags: [Reviewed]

+1. Looks good.

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Reopened: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE reopened HADOOP-5937:
--------------------------------------------


Ramya, you are right.  0.20 needs a different message.  Thanks for looking at this.  I will revert the patch committed to 0.20.

Ravi, could you post a new patch for 0.20?

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Commented: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari updated HADOOP-5937:
---------------------------------

    Attachment: HADOOPv20-5937.patch

> 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, 0.21.0
>
>         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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari updated HADOOP-5937:
---------------------------------

    Attachment: HADOOP-5937.patch

No code changes made , only changes in information message . 
No unit tests added as there are no addition or code changes .

> 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, 0.21.0
>
>         Attachments: HADOOP-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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Phulari updated HADOOP-5937:
---------------------------------

    Fix Version/s:     (was: 0.21.0)
           Status: Patch Available  (was: Reopened)

Thanks for correction Ramya ,  Nicholas please consider this patch for Hadoop 20 . 

> 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.


[jira] Updated: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-5937:
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
           Status: Resolved  (was: Patch Available)

I have committed the 0.20 patch.  Thanks, Ravi!

> 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, 0.21.0
>
>         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.


[jira] Commented: (HADOOP-5937) Correct info message "Use hadoop dfs -safemode option" to " Use hdfs dfsadmin -safemode option" .

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714760#action_12714760 ] 

Hadoop QA commented on HADOOP-5937:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12409333/HADOOP-5937.patch
  against trunk revision 780114.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/436/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/436/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/436/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/436/console

This message is automatically generated.

> 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, 0.21.0
>
>         Attachments: HADOOP-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.