[
https://issues.apache.org/jira/browse/HDFS-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanping Wang updated HDFS-1365:
-------------------------------
Attachment: HDFS1365.1.patch
First initial patch is attached. In this patch, we introduced two new fields
into StorageInfo.java. They are
String clusterID;
String blockPoolID;
where clusterID is generated using java.util.UUID and blockPoolID is
"BP-" + RAND +"="+ip + "-"+System.currentTimeMillis();
After this subtask, the next step is HDFS1397 storage directory change of
VERSION file
and HDFS1398 Upgrade and rollback of Frederation
Couple unit test cases are modified accordingly to make compilation pass. They
are
M
src/test/unit/org/apache/hadoop/hdfs/server/datanode/TestBlockRecovery.java
M src/test/hdfs/org/apache/hadoop/hdfs/TestDFSRollback.java
M src/test/hdfs/org/apache/hadoop/hdfs/TestDFSUpgrade.java
M src/test/hdfs/org/apache/hadoop/hdfs/TestDFSStartupVersions.java
Among these test cases, TestBlockRecovery fails off trunk already. And the
other test cases is tempraorly broken and will be fixed as we will continue
develop HDFS1397 and
HDFS1398. As for now, the patch passes compliation and fails on the above
test cases.
One unit test case is added,
A src/test/hdfs/org/apache/hadoop/hdfs/server/common/TestStorageInfo.java
> HDFS federation: propose ClusterID and BlockPoolID format
> ---------------------------------------------------------
>
> Key: HDFS-1365
> URL: https://issues.apache.org/jira/browse/HDFS-1365
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Tanping Wang
> Assignee: Tanping Wang
> Fix For: Federation Branch
>
> Attachments: HDFS1365.1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.