hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sekhon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7565) NFS gateway UID overflow
Date Tue, 23 Dec 2014 17:30:13 GMT

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

Hari Sekhon commented on HDFS-7565:

1. It's simply converting the 4 billion entry to -2 so yes that isn't going to match anything,
which is the crux of this ticket. That's the bit we need fixed in this jira.

2. I did previously enable SSSD enumeration (I had previously seen that ticket).

A1. UID 4294967294 (from company Active Directory), username on the cluster is hari (this
is a local IPA realm just for this PoC)
A2. cluster is running on Redhat Enterprise Linux 6, client is Windows 7 enterprise
A3. Linux "getent passwd | grep hari" returns "hari:*:10002:10003:hari:/home/user/hari:/bin/bash"

> 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