You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2014/05/16 13:04:01 UTC

[jira] [Commented] (HADOOP-10612) NFS failed to refresh the user group id mapping table

    [ https://issues.apache.org/jira/browse/HADOOP-10612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999351#comment-13999351 ] 

Brandon Li commented on HADOOP-10612:
-------------------------------------

In IdUserGroup.java: 
{noformat}
  synchronized private boolean isExpired() {
    return lastUpdateTime - System.currentTimeMillis() > timeout;
  }
{noformat}
should be :
{noformat}
  synchronized private boolean isExpired() {
    return  System.currentTimeMillis() - lastUpdateTime > timeout;
  }
{noformat}

> NFS failed to refresh the user group id mapping table
> -----------------------------------------------------
>
>                 Key: HADOOP-10612
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10612
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: nfs
>    Affects Versions: 2.4.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HADOOP-10612.002.patch, HADOOP-10612.patch
>
>
> Found by Preetham Kukillaya. The user/group id mapping table is not update periodically.



--
This message was sent by Atlassian JIRA
(v6.2#6252)