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

Gil Vernik commented on HADOOP-10420:
-------------------------------------

I found a bit hard to apply path-003 or patch-004
I am doing git apply from hadoop-common-2.3.0 and it doesn't work claiming that 
root@ubuntu:/usr/local/hadoop-2.3.0-src/hadoop-common-2.3.0# git apply --check  
HADOOP-10420-004.patch 
error: 
hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/RestClientBindings.java:
 No such file or directory
error: 
hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftProtocolConstants.java:
 No such file or directory
error: 
hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/http/SwiftRestClient.java:
 No such file or directory
error: 
hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/JSONUtil.java: 
No such file or directory

I noticed that both patch 002 and original patch use 
diff --git a/hadoop-tools/.... b/hadoop-tools/....
while patch 003 and 004 doesn't.
I manually edited patch 004 and added a/... and b/.. and all worked fine.
Anyone can explain me why i had that problem with patch 004 and 003?



> Add support to Swift-FS to support tempAuth
> -------------------------------------------
>
>                 Key: HADOOP-10420
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10420
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, fs/swift, tools
>    Affects Versions: 2.3.0
>            Reporter: Jinghui Wang
>         Attachments: HADOOP-10420-002.patch, HADOOP-10420-003.patch, 
> HADOOP-10420-004.patch, HADOOP-10420.patch
>
>
> Currently, hadoop-openstack Swift FS supports keystone authentication. The 
> attached patch adds support for tempAuth. Users will be able to configure 
> which authentication to use.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to