[jira] [Updated] (HADOOP-10276) RawLocalFs#getFileLinkStatus does not fill in the link owner and mode by default

2014-01-24 Thread Jason Lowe (JIRA)

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

Jason Lowe updated HADOOP-10276:


Summary: RawLocalFs#getFileLinkStatus does not fill in the link owner and 
mode by default  (was: RawLocalFs#getFileLinkStatus does not fill in the link 
owner and mode)

> RawLocalFs#getFileLinkStatus does not fill in the link owner and mode by 
> default
> 
>
> Key: HADOOP-10276
> URL: https://issues.apache.org/jira/browse/HADOOP-10276
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Colin Patrick McCabe
>
> {{RawLocalFs#getFileLinkStatus}} does not actually get the owner and mode of 
> the symlink, but instead uses the owner and mode of the symlink target.  If 
> the target can't be found, it fills in bogus values (the empty string and 
> FsPermission.getDefault) for these.
> Symlinks have an owner distinct from the owner of the target they point to, 
> and getFileLinkStatus ought to expose this.
> In some operating systems, symlinks can have a permission other than 0777.  
> We ought to expose this in RawLocalFilesystem and other places, although we 
> don't necessarily have to support this behavior in HDFS.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HADOOP-10276) RawLocalFs#getFileLinkStatus does not fill in the link owner and mode

2014-01-24 Thread Jason Lowe (JIRA)

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

Jason Lowe updated HADOOP-10276:


Affects Version/s: 2.2.0
Fix Version/s: (was: 2.4.0)
 Assignee: (was: Colin Patrick McCabe)
  Summary: RawLocalFs#getFileLinkStatus does not fill in the link 
owner and mode  (was: CLONE - RawLocalFs#getFileLinkStatus does not fill in the 
link owner and mode)

Cloned from HADOOP-9652, as that JIRA lays the groundwork but does not 
completely fix the originally reported issue.

> RawLocalFs#getFileLinkStatus does not fill in the link owner and mode
> -
>
> Key: HADOOP-10276
> URL: https://issues.apache.org/jira/browse/HADOOP-10276
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Colin Patrick McCabe
>
> {{RawLocalFs#getFileLinkStatus}} does not actually get the owner and mode of 
> the symlink, but instead uses the owner and mode of the symlink target.  If 
> the target can't be found, it fills in bogus values (the empty string and 
> FsPermission.getDefault) for these.
> Symlinks have an owner distinct from the owner of the target they point to, 
> and getFileLinkStatus ought to expose this.
> In some operating systems, symlinks can have a permission other than 0777.  
> We ought to expose this in RawLocalFilesystem and other places, although we 
> don't necessarily have to support this behavior in HDFS.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)