[ 
https://issues.apache.org/jira/browse/HDFS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uma Maheswara Rao G updated HDFS-208:
-------------------------------------

    Status: Patch Available  (was: Reopened)

Provided the simple patch.
Verified the patch manually. Below are the warn logs. 

2011-11-06 09:38:31,611 WARN  namenode.FSNamesystem 
(FSNamesystem.java:loadFromDisk(314)) - Only one directory configured for 
dfs.namenode.name.dir, chances for namespace corruption
2011-11-06 09:38:31,612 WARN  namenode.FSNamesystem 
(FSNamesystem.java:loadFromDisk(319)) - Only one directory configured for 
dfs.namenode.edits.dir, chances for edits corruption

Not provided the tests because these are just log additions. I feel, not 
required to start NN for asserting logs.

                
> name node should warn if only one dir is listed in dfs.name.dir
> ---------------------------------------------------------------
>
>                 Key: HDFS-208
>                 URL: https://issues.apache.org/jira/browse/HDFS-208
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>            Reporter: Allen Wittenauer
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.24.0
>
>         Attachments: HDFS-208.patch
>
>
> The name node should warn that corruption may occur if only one directory is 
> listed in the dfs.name.dir setting.

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

        

Reply via email to