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

Hari Sekhon updated HDFS-7565:
------------------------------
    Description: 
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

  was:
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}


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

Reply via email to