hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12299) Race Between update pipeline and DN Re-Registration
Date Fri, 25 Aug 2017 20:07:00 GMT

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

Kihwal Lee updated HDFS-12299:
------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.2
                   3.0.0-beta1
                   2.9.0
           Status: Resolved  (was: Patch Available)

I've committed this to trunk, branch-2, branch-2.8 and branch-2.8.2. Thanks for working on
this, Brahma.

> Race Between update pipeline and DN Re-Registration
> ---------------------------------------------------
>
>                 Key: HDFS-12299
>                 URL: https://issues.apache.org/jira/browse/HDFS-12299
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>             Fix For: 2.9.0, 3.0.0-beta1, 2.8.2
>
>         Attachments: HDFS-12299-branch-2-002.patch, HDFS-12299-branch-2.patch, HDFS-12299.patch
>
>
>  *Scenario*   
>  - Started pipeline with DN1->DN2->DN3
>  - DN1 is re-reg and update pipeline is called
>  - Update pipeline will success with DN1->DN3->DN4
>  - Again update pipeline is called,which will fail with NPE.
> In step3 updatepipeline will set the storages as null since DN1 re-reg(which will remove
and add the storages)
> {{FSNamesystem#updatePipelineInternal}}
> {code}
>    lastBlock.getUnderConstructionFeature().setExpectedLocations(lastBlock,
>         storages, lastBlock.getBlockType())
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message