[
https://issues.apache.org/jira/browse/HDFS-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-5742:
--------------------------------
Attachment: HDFS-5742.05.patch
Rebase to resolve conflict with HDFS-5318 which was just committed. The
conflict was fairly trivial, requiring the NN index to be passed to
{{cluster.injectBlocks}} in {{TestReadOnlySharedStorage}}.
{code}
// Inject the block into the datanode with READ_ONLY_SHARED storage
- cluster.injectBlocks(RO_NODE_INDEX, Collections.singleton(block));
+ cluster.injectBlocks(0, RO_NODE_INDEX, Collections.singleton(block));
{code}
> DatanodeCluster (mini cluster of DNs) fails to start
> ----------------------------------------------------
>
> Key: HDFS-5742
> URL: https://issues.apache.org/jira/browse/HDFS-5742
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Priority: Minor
> Attachments: HDFS-5742.01.patch, HDFS-5742.02.patch,
> HDFS-5742.03.patch, HDFS-5742.04.patch, HDFS-5742.05.patch
>
>
> DatanodeCluster fails to start with NPE in MiniDFSCluster.
> Looks like a simple bug in {{MiniDFSCluster#determineDfsBaseDir}} - missing
> check for null configuration.
> Also included are a few improvements to DataNodeCluster, details in comments
> below.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)