hadoop-hdfs-issues mailing list archives

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

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

Hadoop QA commented on HDFS-6100:

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/6439//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/6439//console

This message is automatically generated.

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

View raw message