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

Junping Du commented on HDFS-5154:
----------------------------------

Fix TestBlockManager and TestDatanodeDescriptor that failed after enabling 
multiple storages in DatanodeDescriptor:
1. initialize storage before putting block on DN
2. enable correct storage info in fulfillPipeline()
3. get rid of ArrayIndexOutOfBoundException(AIOOBE) in removing block from DN 
in case block is not found.
4. mark visibility of updateStorage() in DNDescriptor as public 

                
> Fix several tests failure after HDFS-4987
> -----------------------------------------
>
>                 Key: HDFS-5154
>                 URL: https://issues.apache.org/jira/browse/HDFS-5154
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: HDFS-5154-v1.patch
>
>
> HDFS-4987 add tracking multiple storage in NN which involve several UT 
> failures, i.e. TestBlockManager, TestDataNodeDescriptor, etc. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to