hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6100) DataNodeWebHdfsMethods does not failover in HA mode
Date Fri, 14 Mar 2014 00:39:43 GMT

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

Haohui Mai commented on HDFS-6100:

The v0 patch overloads the meaning of the URL parameter {{namenoderpcaddress}}. It is the
host-port pair of the NN in non-HA mode, but it becomes the nameservice id in HA mode.

> 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
> 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. Currently the parameter is set by the NN and it is a host-ip
pair, which does not support HA.

This message was sent by Atlassian JIRA

View raw message