hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-2328) hftp throws NPE if security is not enabled on remote cluster
Date Tue, 13 Sep 2011 17:03:09 GMT

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

Owen O'Malley reassigned HDFS-2328:

    Assignee: Owen O'Malley

> hftp throws NPE if security is not enabled on remote cluster
> ------------------------------------------------------------
>                 Key: HDFS-2328
>                 URL: https://issues.apache.org/jira/browse/HDFS-2328
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Daryn Sharp
>            Assignee: Owen O'Malley
>            Priority: Critical
>             Fix For:
>         Attachments: h-2328.patch
> If hftp cannot locate either a hdfs or hftp token in the ugi, it will call {{getDelegationToken}}
to acquire one from the remote nn.  This method may return a null {{Token}} if security is
disabled(*)  on the remote nn.  Hftp will internally call its {{setDelegationToken}} which
will throw a NPE when the token is {{null}}.
> (*) Actually, if any problem happens while acquiring the token it assumes security is
disabled!  However, it's a pre-existing issue beyond the scope of the token renewal changes.

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


View raw message