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

Jitendra Nath Pandey commented on HDFS-1637:
--------------------------------------------

In this patch, the initFsDataSet is called when setupBP (which performs 
handshake with namenode) has succeeded for a namenode. Although, initFsDataSet 
will be called multiple times (once after handshake with each namenode), but 
FSDataset is initialized only once. 

> Federation: FSDataset in Datanode should be created after initial handshake 
> with namenode
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-1637
>                 URL: https://issues.apache.org/jira/browse/HDFS-1637
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: Federation Branch
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>             Fix For: Federation Branch
>
>         Attachments: HDFS-1637.1.patch
>
>
> Currently storage is initialized only after handshake with a namenode.However 
> FSDataset is created before handshake and hence before storage 
> initialization. At this time, storage does not have storage directories 
> resulting in FSDataset initialized with no volumes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to