hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4120) Add a new "-skipSharedEditsCheck" option for BootstrapStandby
Date Mon, 30 Jun 2014 12:29:25 GMT

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

Vinayakumar B commented on HDFS-4120:
-------------------------------------

Hi rakesh, 
Thanks for adding a test.

Following are comments about the same.
1. The new test added actually passes even without "-skipSharedEditsCheck" option. 
QJM doesn't need this option. May be this we can try with BKJM?

2. After stopping the standby NN, need to clear out old files before calling bootstrap again
and then can look for the checkpoints.


> Add a new "-skipSharedEditsCheck" option for BootstrapStandby
> -------------------------------------------------------------
>
>                 Key: HDFS-4120
>                 URL: https://issues.apache.org/jira/browse/HDFS-4120
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, namenode
>    Affects Versions: 3.0.0, 2.0.2-alpha
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>            Priority: Minor
>         Attachments: HDFS-4120.patch, HDFS-4120.txt
>
>
> Per https://issues.apache.org/jira/browse/HDFS-3752?focusedCommentId=13449466&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13449466
, let's introduce a new option, it should be very safe, but really useful for some corner
case.  e.g. when SNN losts local storage, we need to reset SNN, but in current trunk, it'll
always get a FATAL msg and could never be successful.     Another workaroud for this case,
is full-sync the "current" directory from ANN, but it'll be cost more disk-space & net
bandwidth, IMHO.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message