[
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}
was:
It appears that my Windows 7 workstation is passing a UID in the 4 billion
range and parts of the code are using java int's so it looks like the UID is
overflowing and giving -2 :
{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
> 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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)