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

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

Regarding to Hairong's comment:

1. Sure, I will make it throwing an IOException warpping a LoginException.  
Then, we don't have to change the FileSystem API.

2. Comparing to file transfer time, RPC overhead is negligible.  So it is fine 
to do RPC calls.

Right now, we need RPC calls for passing ugi to name node.  Once we have 
changed the way for storing ugi (by thread local variable or by Subject) in 
name node late on, we could get rid of RPC.

3. They were already done by some previous patches.

4 & 5. Actually, I should not change the secondary namenode in this issue since 
it is not related.  I will create another issue for that and NamenodeProtocol.

6. StreamFile servlet first stores ugi to conf and then use it to create a 
DFSClient.  So the ugi is used indeed.

> Fix permission issues for HftpFileSystem
> ----------------------------------------
>
>                 Key: HADOOP-2652
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2652
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>         Attachments: 2652_20080117.patch, 2652_20080117b.patch
>
>
> Similar to HADOOP-2614, HftpFileSystem requires UserGroupInformation to 
> access NameNode.

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