[ 
https://issues.apache.org/jira/browse/HDFS-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Isaacson reassigned HDFS-3974:
-----------------------------------

    Assignee: Andy Isaacson
    
> dfsadmin -metasave throws NPE when under-replicated blocks are recently 
> deleted
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-3974
>                 URL: https://issues.apache.org/jira/browse/HDFS-3974
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Andy Isaacson
>            Priority: Minor
>
> We currently have the following race:
> - Block is underreplicated, hence it's present in neededReplications
> - User deletes the block - its BlockInfo.blockCollection is set to null
> - Admin runs metaSave before the replication monitor runs.
> This causes an NPE since block.getBlockCollection() for one of the 
> neededReplication blocks has become null.

--
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