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

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

Some comments on HADOOP-4104.3.txt although I don't have much experience on 
libhdfs:

- Try referring to the base class UserGroupInformation instead of 
UnixUserGroupInformation if possible since UnixUserGroupInformation will be 
replaced in the future.

- In hdfsChown(...), if owner == NULL, we should not set owner = "root".  owner 
== NULL means owner remains unchanged.


> add time, permission and user attribute support to libhdfs
> ----------------------------------------------------------
>
>                 Key: HADOOP-4104
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4104
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: libhdfs
>            Reporter: Pete Wyckoff
>            Assignee: Pete Wyckoff
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4104.2.txt, HADOOP-4104.3.txt, HADOOP-4104.txt
>
>
> 1. add mtime, accesstime, owner, permissions to HDFSFileInfo
> 2. create hdfsChown, hdfsChmod, hdfsUtime functions
> 3. create hdfsConnectAsUser function

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

Reply via email to