[
https://issues.apache.org/jira/browse/HDFS-14205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792095#comment-16792095
]
Chao Sun commented on HDFS-14205:
---------------------------------
[~vagarychen] there are a few things I fixed in the latest patch:
1. One line:
{code:java}
Configuration hdfsConf = new Configuration(conf);
{code}
was missing from {{MiniDFSCluster}}. The change was added later by HDFS-9142
and conflicts with HDFS-6440. It also changed the return type of
{{createNameNode}} from {{NameNodeInfo}} to {{void}}.
2. In {{TestEditLogRace}}, it should be:
{code:java}
private static final String NAME_DIR = MiniDFSCluster.getBaseDirectory() +
"name-0-1";
{code}
for the latest change.
3. In {{TestBootstrapStandby#testSuccessfulBaseCase}}, some of the code before
{{restartNameNodesFromIndex}} need to be moved into the for loop.
4. In {{TestBootstrapStandby#testDownloadingLaterCheckpoint}}, it should be:
{code:java}
URI editsUri = cluster.getSharedEditsDir(0, maxNNCount - 1);
{code}
instead of:
{code:java}
URI editsUri = cluster.getSharedEditsDir(0, 1);
{code}
5. Binary changes (e.g., {{hadoop-1-reserved.tgz}}) were missing in the early
patches.
6. Before patch v2, {{MultipleNameNodeProxy}} was defined but not used. It was
fixed since patch v3.
> Backport HDFS-6440 to branch-2
> ------------------------------
>
> Key: HDFS-14205
> URL: https://issues.apache.org/jira/browse/HDFS-14205
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Chen Liang
> Assignee: Chao Sun
> Priority: Major
> Attachments: HDFS-14205-branch-2.001.patch,
> HDFS-14205-branch-2.002.patch, HDFS-14205-branch-2.003.patch,
> HDFS-14205-branch-2.004.patch, HDFS-14205-branch-2.005.patch,
> HDFS-14205-branch-2.006.patch, HDFS-14205-branch-2.007.patch,
> HDFS-14205-branch-2.008.patch, HDFS-14205-branch-2.009.patch
>
>
> Currently support for more than 2 NameNodes (HDFS-6440) is only in branch-3.
> This JIRA aims to backport it to branch-2, as this is required by HDFS-12943
> (consistent read from standby) backport to branch-2.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]