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

Aaron T. Myers updated HDFS-2853:
---------------------------------

    Attachment: HDFS-2853-HDFS-1623.patch

Here's a patch which addresses the issue.

I removed the check as described above. The trouble is that when a standby is 
started, it doesn't initialize all the edits dirs as journals - only the shared 
dir for read. Thus, if this dir is marked required, the validation was failing 
since the configured minimum number of redundant dirs (1) was lower than the 
configured number of redundant dirs (0 while in standby.) I think this sort of 
configuration check would be better implemented at a higher level, if at all.
                
> HA: NN fails to start if the shared edits dir is marked required
> ----------------------------------------------------------------
>
>                 Key: HDFS-2853
>                 URL: https://issues.apache.org/jira/browse/HDFS-2853
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>            Priority: Critical
>         Attachments: HDFS-2853-HDFS-1623.patch
>
>
> Currently it will fail because of a bug with checking the valid configuration 
> of required resources.

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