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

Sameer Paranjpye commented on HADOOP-4104:
------------------------------------------

bq. My opinion would be to avoid adding security and access checks that are 
specific to libhdfs only. Does libhdfs work on non-unix platforms? If so, then 
we should avoid using calls like geteuid(). It will keep the library 
very-hadoop-centric rather than being unix-centric.

+1

Hadoop doesn't have authentication. The ugi and permissions implementation is 
aimed at preventing mistakes rather than providing any real security. I don't 
see why libhdfs should take it upon itself to do more. Any future 
authentication work in Hadoop can be leveraged by libhdfs.

> 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.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