hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6813) Add a new newInstance method in FileSystem that takes a "user" as argument
Date Mon, 07 Jun 2010 23:41:12 GMT

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

Devaraj Das commented on HADOOP-6813:
-------------------------------------

bq. This issue went from created to committed in less than an hour. Changes to the FileSystem
API should require more notice and explanation than was provided in this JIRA, though this
looks like a reasonable convenience method to me. 

Hmm.. makes sense to wait longer for such changes. The main reason for having this API is
to take care of libhdfs. There is an API in libhdfs that tries to connect on behalf of users.
In order to support that API, I added the method in FileSystem. The other option would be
to create an UGI object and pass it to newInstance but that would complicate things a bit
(to do with creating UGI objects in C code, etc.).

> Add a new newInstance method in FileSystem that takes a "user" as argument
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-6813
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6813
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 0.22.0
>
>         Attachments: h-6813.patch
>
>
> In order to implement HDFS-1000 for trunk, I need to have a newInstance API in FileSystem
that takes a "user" as an argument.

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


Mime
View raw message