You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Brian Bockelman (JIRA)" <ji...@apache.org> on 2008/11/26 00:10:44 UTC

[jira] Created: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Groups do not work for fuse-dfs out of the box on 0.19.0
--------------------------------------------------------

                 Key: HADOOP-4727
                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
             Project: Hadoop Core
          Issue Type: Bug
            Reporter: Brian Bockelman


The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651209#action_12651209 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

good catch! 

i don't think it is covered. probably need to augment testWrites to do a getFileStatus and check the the created file has the right group.



> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>             Fix For: 0.19.1
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652586#action_12652586 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

forgot to mention - i think you also need to special case this supergroup entity of hdfs in fuse_dfs.c

{code}
  if (info->mGroup != NULL) {                                                                                                                                                                                
    //                                                                                                                                                                                                       
    // Critical section - protect from concurrent calls in different threads since                                                                                                                           
    // the struct below is static.                                                                                                                                                                           
    // (no returns until end)                                                                                                                                                                                
    //                                                                                                                                                                                                       
                                                                                                                                                                                                             
    pthread_mutex_lock(&groupstruct_mutex);                                                                                                                                                                  
                                                                                                                                                                                                             
    struct group *grp = getgrnam(info->mGroup);                                                                                                                                                              
    group_id = grp == NULL ? default_id : grp->gr_gid;                                                                                                                                                       
                                                                                                                                                                                                             
    if (grp == NULL && strcmp(info->mGroup, "supergroup") == 0) {                                                                                                                                  
      group_id = 0; // i.e., root                                                                                                                                                                            
    }                                                                                                                                                                                                        
                                                                                                                                                                                                             
    //                                                                                                                                                                                                       
    // End critical section                                                                                                                                                                                  
    //                                                                                                                                                                                                       
    pthread_mutex_unlock(&groupstruct_mutex);                                                                                                                                                                
                                                                                                                                                                                                             
  }                  
{code}

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas reassigned HADOOP-4727:
-------------------------------------

    Assignee: Brian Bockelman

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654096#action_12654096 ] 

Hudson commented on HADOOP-4727:
--------------------------------

Integrated in Hadoop-trunk #680 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/680/])
    

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch, HADOOP-4727_20.txt
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Wyckoff updated HADOOP-4727:
---------------------------------

    Attachment: HADOOP-4727_20.txt

patch for the new organization on trunk. Same code.


> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch, HADOOP-4727_20.txt
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653477#action_12653477 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

note the hudson test failure  was unrelated to this, so i think  this is ready to commit.



> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch, HADOOP-4727_20.txt
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Brian Bockelman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Bockelman updated HADOOP-4727:
------------------------------------

    Attachment: hadoop-4727.patch

Patch is trivial.  Logic was incorrect.

This might be a critical issue for some users.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>             Fix For: 0.19.1
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Wyckoff updated HADOOP-4727:
---------------------------------

      Component/s: contrib/fuse-dfs
         Priority: Blocker  (was: Major)
    Fix Version/s: 0.20.0

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652578#action_12652578 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

Hi Brian,

I think you can unit test this by adding the following to the testWrites method in src/test/TestFuseDFS.java

{code}
      Runtime r = Runtime.getRuntime();
      String cmd = "stat -c %G " + mpoint + "/hello.txt";
      Process p = r.exec(cmd);
      p.waitFor();
      InputStream i = p.getInputStream();
      byte buf[] = new byte[i.available()];
      length = i.read(buf);

      String res = new String(buf,0, length-1);
      
      if(res.equals("root")) {
        assertEquals(foo.getGroup(), "supergroup");
      } else {
        assertEquals(foo.getGroup(), res);
      }

{code}


> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653475#action_12653475 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

It looks like we have consensus that this is the right patch.

+1 on the code.  Not really unit test feasible, so i think we can do without that.



> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch, HADOOP-4727_20.txt
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4727:
-------------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Brian!

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch, HADOOP-4727_20.txt
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652976#action_12652976 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4727:
------------------------------------------------

I think the correct semantic is to require that the users and groups in HDFS must exist in the local host when using fuse.  So if a user or group is not found locally, throw an exception.

BTW, what Linux does if a remote directory is mounted to a local machine but some accounts used in the remote directory does not exist locally?  We probably should do the same.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Pete Wyckoff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652942#action_12652942 ] 

Pete Wyckoff commented on HADOOP-4727:
--------------------------------------

What should fuse return when the group is supergroup then? the current code will end of returning 'nobody'



> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651351#action_12651351 ] 

Hadoop QA commented on HADOOP-4727:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12394700/hadoop-4727.patch
  against trunk revision 720930.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3659/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3659/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3659/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3659/console

This message is automatically generated.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>             Fix For: 0.19.1
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Brian Bockelman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Bockelman updated HADOOP-4727:
------------------------------------

        Fix Version/s: 0.19.1
    Affects Version/s: 0.19.0
               Status: Patch Available  (was: Open)

Submitting to Hudson.  No unit test available... I'll let Pete look into this one; certainly it *should* be covered.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>             Fix For: 0.19.1
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652909#action_12652909 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4727:
------------------------------------------------

> i think you also need to special case this supergroup entity of hdfs in fuse_dfs.c 

The user domain in HDFS and the user domain in local host are different.  Being a superuser of HDFS does not automatically imply a superuser of the local host, and vice versa.  So, I think we don't need this.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4727) Groups do not work for fuse-dfs out of the box on 0.19.0

Posted by "Craig Macdonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653287#action_12653287 ] 

Craig Macdonald commented on HADOOP-4727:
-----------------------------------------

bq. what Linux does if a remote directory is mounted to a local machine but some accounts used in the remote directory does not exist locally?

Linux reports the uid and gid of the files instead of the username and group name. However, this isnt an option in this scenario, as we the usernames not uids are used by Hadoop.

I prefer that the code returns nobody if the user is not known.

> Groups do not work for fuse-dfs out of the box on 0.19.0
> --------------------------------------------------------
>
>                 Key: HADOOP-4727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4727
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.19.0
>            Reporter: Brian Bockelman
>            Assignee: Brian Bockelman
>            Priority: Blocker
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: hadoop-4727.patch
>
>
> The groups functionality of fuse-dfs did not work for me in Hadoop 0.19.0.  Everything shows up as group nobody.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.