hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7565) NFS gateway UID overflow
Date Wed, 07 Jan 2015 03:46:35 GMT

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

Yongjun Zhang commented on HDFS-7565:

HI [~harisekhon],

I assume you applied your own fix of HDFS-7563, and then see this problem, right? What does
your static map file exactly look like? (would you please cat the file and paste it here?)

Would you please try "getent passwd hari", "getent passwd 10002", "getent passwd <4B>"
(where <4B> is the 4 biilion number you are using) on the node that runs nfs gateway,
and share the results here?


> NFS gateway UID overflow
> ------------------------
>                 Key: HDFS-7565
>                 URL: https://issues.apache.org/jira/browse/HDFS-7565
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: nfs
>    Affects Versions: 2.6.0
>         Environment: HDP 2.2 (Apache Hadoop 2.6.0)
>            Reporter: Hari Sekhon
>            Assignee: Yongjun Zhang
> It appears that my Windows 7 workstation is passing a UID around 4 billion to the NFS
gateway and the getUserName() method is being passed "-2", so it looks like the UID is an
int and is overflowing:
> {code}security.ShellBasedIdMapping (ShellBasedIdMapping.java:getUserName(358)) - Can't
find user name for uid -2. Use default user name nobody{code}
> Regards,
> Hari Sekhon
> http://www.linkedin.com/in/harisekon

This message was sent by Atlassian JIRA

View raw message