[
https://issues.apache.org/jira/browse/HDFS-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Foley updated HDFS-1699:
-----------------------------
Attachment: BZ-4177741-v2.patch
Added a call to cluster#waitActive() in waitForTempReplica(). This ensures the
block pool threads (and hence FSDataset) are initialized. Now passes the two
test cases that were failing.
> HDFS Federation: fix failure of TestBlockReport
> -----------------------------------------------
>
> Key: HDFS-1699
> URL: https://issues.apache.org/jira/browse/HDFS-1699
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: Federation Branch
> Reporter: Matt Foley
> Assignee: Matt Foley
> Fix For: Federation Branch
>
> Attachments: BZ-4177741-v2.patch
>
>
> FS is no longer immediately available when a datanode activates; one must
> wait for it to negotiate with a namenode and
> establish a blockpool. The current code was attempting to fetch FS too fast
> and getting null.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira