You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2015/01/07 04:46:35 UTC
[jira] [Commented] (HDFS-7565) NFS gateway UID overflow
[ 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?
Thanks.
> 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
(v6.3.4#6332)