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

Attila Bukor commented on HDFS-11422:
-------------------------------------

[~qwertymaniac] nice, I somehow didn't find this. I thought about doing 
something like this and I agree this should be the default behavior. On the 
other hand, maybe it could be simplified to skip removing the directory on 
failure if this is enabled instead of attempting to restore it. 
{{attemptRestoreRemovedStorage}} should only be called if 
{{dfs.namenode.name.dir.restore}} is turned on at runtime. Does this make any 
sense or did I miss something?

> Need a method to refresh the list of NN StorageDirectories after removal
> ------------------------------------------------------------------------
>
>                 Key: HDFS-11422
>                 URL: https://issues.apache.org/jira/browse/HDFS-11422
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: Attila Bukor
>
> If a NN storage directory is removed due to an error, the NameNode will fail 
> to write the image even if the issue was intermittent. It would be good to 
> have a way to make the NameNode try writing again after the issue is fixed - 
> and maybe even try it automatically every certain amount of time 
> (configurable).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to