You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "liaowenrui (Created) (JIRA)" <ji...@apache.org> on 2012/04/02 08:30:34 UTC

[jira] [Created] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

When the disk space is available back,Namenode resource monitor can automatically take off safemode.
----------------------------------------------------------------------------------------------------

                 Key: HDFS-3175
                 URL: https://issues.apache.org/jira/browse/HDFS-3175
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: name-node
    Affects Versions: 0.24.0, 2.0.0
            Reporter: liaowenrui




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "liaowenrui (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245066#comment-13245066 ] 

liaowenrui commented on HDFS-3175:
----------------------------------

thank you very much
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "liaowenrui (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244238#comment-13244238 ] 

liaowenrui commented on HDFS-3175:
----------------------------------


Thank you very much for your comments.

why do it was a deliberate choice not to automatically exit SM if disk space late became available?

The NameNodeResourceChecker only check whether the disk is available or not, whether the system is automatically exit safemode or not is determined by NameNodeResourceMonitor.

                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244007#comment-13244007 ] 

Aaron T. Myers commented on HDFS-3175:
--------------------------------------

FWIW, when the NameNodeResourceChecker was originally implemented it was a deliberate choice not to automatically exit SM if disk space late became available. Obviously we could change that now if we wanted, but I just figured I'd point it out.
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

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

liaowenrui updated HDFS-3175:
-----------------------------

    Attachment: HDFS-3175.patch
                HDFS-3175.patch
    
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

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

liaowenrui updated HDFS-3175:
-----------------------------

    Attachment: testcase
    
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch, testcase
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244326#comment-13244326 ] 

Aaron T. Myers commented on HDFS-3175:
--------------------------------------

Take a look at the end of [this comment|https://issues.apache.org/jira/browse/HDFS-1594?focusedCommentId=13020373&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13020373], in which Eli articulates the reasoning why not to automatically leave safe mode upon having enough disk space.

bq. The NameNodeResourceChecker only check whether the disk is available or not, whether the system is automatically exit safemode or not is determined by NameNodeResourceMonitor.

You're right. My mistake.
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "liaowenrui (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246164#comment-13246164 ] 

liaowenrui commented on HDFS-3175:
----------------------------------

Hi Aaron, I have seen your opinion in other issue HDFS-2914

https://issues.apache.org/jira/browse/HDFS-2914?focusedCommentId=13203135&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13203135

This can solve that issue as well.
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch, HDFS-3175.patch, testcase
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

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

liaowenrui updated HDFS-3175:
-----------------------------

    Attachment: HDFS-3175.patch

modify format
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch, HDFS-3175.patch, testcase
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3175) When the disk space is available back,Namenode resource monitor can automatically take off safemode.

Posted by "liaowenrui (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246150#comment-13246150 ] 

liaowenrui commented on HDFS-3175:
----------------------------------

hi Aaron,

I think that automatically leave safemode mechanism is better than manual.and It should be optimized to automatical approach.

Is it right?
                
> When the disk space is available back,Namenode resource monitor can automatically take off safemode.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3175
>                 URL: https://issues.apache.org/jira/browse/HDFS-3175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>         Attachments: HDFS-3175.patch, HDFS-3175.patch, HDFS-3175.patch, testcase
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira