hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6100) DataNodeWebHdfsMethods does not failover in HA mode
Date Wed, 19 Mar 2014 17:23:50 GMT

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

Jing Zhao commented on HDFS-6100:
---------------------------------

+1 for the latest patch.

> DataNodeWebHdfsMethods does not failover in HA mode
> ---------------------------------------------------
>
>                 Key: HDFS-6100
>                 URL: https://issues.apache.org/jira/browse/HDFS-6100
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.4.0
>            Reporter: Arpit Gupta
>            Assignee: Haohui Mai
>         Attachments: HDFS-6100.000.patch, HDFS-6100.001.patch
>
>
> In {{DataNodeWebHdfsMethods}}, the code creates a {{DFSClient}} to connect to the NN,
so that it can access the files in the cluster. {{DataNodeWebHdfsMethods}} relies on the address
passed in the URL to locate the NN. This implementation has two problems:
> # The {{DFSClient}} only knows about the current active NN, thus it does not support
failover.
> # The delegation token is based on the active NN, therefore the {{DFSClient}} will fail
to authenticate of the standby NN in secure HA setup.
> Currently the parameter {{namenoderpcaddress}} in the URL stores the host-ip pair that
corresponds to the active NN. To fix this bug, this jira proposes to store the name service
id in the parameter in HA setup (yet the parameter stays the same in non-HA setup).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message