hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Bukor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11422) Need a method to refresh the list of NN StorageDirectories after removal
Date Fri, 24 Feb 2017 12:18:44 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message