[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-22 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14070427#comment-14070427
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~atm], thanks for looking at it. I've refactored HADOOP-10799  HADOOP-10800 
patches into a script (moving/deleting files) and patch,  I hope that makes the 
review easier. I'm attaching the script and patch in the parent JIRA, 
HADOOP-10771 as it combines the 2 tasks.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-22 Thread Daryn Sharp (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14070759#comment-14070759
 ] 

Daryn Sharp commented on HADOOP-10799:
--

Haven't reviewed, but if you haven't already, can you please ensure that the 
ability to use a query string param is confined to webhdfs.  If we allow it to 
spread to new services then we will never be able to remove it.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-22 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14070896#comment-14070896
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~daryn], created HADOOP-10880 for that, made it blocker.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-21 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14068429#comment-14068429
 ] 

Varun Vasudev commented on HADOOP-10799:


[~tucu00] I'm fine with that. I've filed YARN-2290 for 3.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-21 Thread Aaron T. Myers (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14069403#comment-14069403
 ] 

Aaron T. Myers commented on HADOOP-10799:
-

This is pretty tough to review as it is, since most of this is renames. Tucu - 
would you mind please commenting which parts of this patch are mostly or 
entirely just a class rename, and which parts are net new and so warrant more 
careful review? Thanks a lot.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-17 Thread Daryn Sharp (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065697#comment-14065697
 ] 

Daryn Sharp commented on HADOOP-10799:
--

I agree with [~vvasudev] that the token needs to be passed via headers, 
probably using digest auth just like sasl.  [~tucu00] and I once talked offline 
about the insecurity of passing it in the url.  With that said, do we really 
want to propagate the bad behavior of webhdfs into common for multiple 
components to use?  We'll never be able to change w/o multiple 
incompatibilities, right?

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-17 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14066046#comment-14066046
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~daryn], [~vvasudev], on moving the token to a header. I think we can do it in 
a backwards compatible way:

# The new client side logic doing DT would use a header.
# The new client side logic doing DT would support a CONFIG switch to use 
querystring.
# The server logic doing DT will do header and fallback to querystring.

*2* will allow a new client to interact with an old server.
*3* will ensure the new server side DT handling works with older clients.

If you agree, I'll open a follow up JIRA to that change.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-16 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14063490#comment-14063490
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~zjshen], thanks for pointing out HADOOP-10453, I was not aware of it, I've 
just commented there.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-16 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14063519#comment-14063519
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12656034/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

  {color:red}-1 javac{color}.  The applied patch generated 1268 javac 
compiler warnings (more than the trunk's current 1260 warnings).

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext
  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4291//testReport/
Javac warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4291//artifact/trunk/patchprocess/diffJavacWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4291//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-16 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14063807#comment-14063807
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

the javac warnings are warnings from Maven regarding the maven-jar-plugin 
defined twice (it does not seem to be the case). I'm not able to reproduce the 
warnings locally with Maven 3.0.4

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-16 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14063923#comment-14063923
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12656090/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem
  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext
  org.apache.hadoop.ipc.TestIPC

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4294//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4294//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-15 Thread Zhijie Shen (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14063154#comment-14063154
 ] 

Zhijie Shen commented on HADOOP-10799:
--

Hi [~tucu00], I'm not sure whether you have noticed HADOOP-10453, which aims to 
default AuthenticatedURL. In this jira, on the contrary, you'd like to improve 
feature of http authentication, including AuthenticatedURL and it sub-classes. 
In HADOOP-10453 description, folks have mentioned the drawbacks of 
AuthenticatedURL. Would you mind share your insights about it?

Currently, YARN RM (YARN-1695) and Timeline web modules (YARN-1530) have 
adopted AuthenticatedURL, we may have to do the adjustment accordingly.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059272#comment-14059272
 ] 

Varun Vasudev commented on HADOOP-10799:


[~tucu00] I'm not sure if this is the right ticket but it would be preferable 
to pass tokens as headers instead of URL parameters. URLs can get logged and 
passed on as part of the referrer header which exposes the delegation token. In 
addition, users can pass around links with delegation tokens by mistake. 
YARN-2247(waiting to be reviewed) also implements auth using delegation tokens 
for the RM web services but passes the tokens as a header. My plan was to file 
a ticket to shift the TimelineServer auth to the header model once YARN-2247 
got committed. I'd be happy to hear your thoughts.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059274#comment-14059274
 ] 

Varun Vasudev commented on HADOOP-10799:


I forgot to mention, there's a lot of similar code between YARN-2247 and 
YARN-2100.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059276#comment-14059276
 ] 

Varun Vasudev commented on HADOOP-10799:


Sorry I hit send too soon, I meant similar code between YARN-2247 and the 
current TimelineServer delegation token auth.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059379#comment-14059379
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~vvasudev], i would like to, but we cannot break backwards compatibility in 
webhdfs. And given that using a query string param for delegation token is part 
of the public REST API (WebHDFS) we should stick to that.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059440#comment-14059440
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12655305/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

  {color:red}-1 javac{color}.  The applied patch generated 1264 javac 
compiler warnings (more than the trunk's current 1260 warnings).

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem
  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4252//testReport/
Javac warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4252//artifact/trunk/patchprocess/diffJavacWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4252//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059459#comment-14059459
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

test cases unrelated

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-11 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14059502#comment-14059502
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12655325/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem
  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4255//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4255//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch, HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-10 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057184#comment-14057184
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12654942/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 5 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext
  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4245//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4245//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-10 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057604#comment-14057604
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

test failures are unrelated

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch, 
 HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-09 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14056465#comment-14056465
 ] 

Alejandro Abdelnur commented on HADOOP-10799:
-

[~vvasudev], as the parent JIRA states it is to be able to use the same code 
from multiple places in Hadoop (HttpFS, KMS, etc)

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-09 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14056473#comment-14056473
 ] 

Varun Vasudev commented on HADOOP-10799:


Sorry I missed the parent ticket. My apologies.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-09 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14056912#comment-14056912
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12654614/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 5 new 
or modified test files.

{color:red}-1 javac{color:red}.  The patch appears to cause the build to 
fail.

Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4241//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-09 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057109#comment-14057109
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12654926/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 5 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.
See 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4243//artifact/trunk/patchprocess/diffJavadocWarnings.txt
 for details.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:red}-1 findbugs{color}.  The patch appears to introduce 3 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext
  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4243//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4243//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4243//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-09 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057112#comment-14057112
 ] 

Hadoop QA commented on HADOOP-10799:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12654926/HADOOP-10799.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 5 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.
See 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4244//artifact/trunk/patchprocess/diffJavadocWarnings.txt
 for details.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:red}-1 findbugs{color}.  The patch appears to introduce 3 new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common:

  org.apache.hadoop.ipc.TestIPC
  org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem
  org.apache.hadoop.fs.TestSymlinkLocalFSFileContext

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4244//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4244//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/4244//console

This message is automatically generated.

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch, HADOOP-10799.patch






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


[jira] [Commented] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-08 Thread Varun Vasudev (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14055860#comment-14055860
 ] 

Varun Vasudev commented on HADOOP-10799:


[~tucu00] just curious - any particular reason for this or simply refactoring?

 Refactor HTTP delegation token logic from httpfs into reusable code in 
 hadoop-common.
 -

 Key: HADOOP-10799
 URL: https://issues.apache.org/jira/browse/HADOOP-10799
 Project: Hadoop Common
  Issue Type: Sub-task
  Components: security
Affects Versions: 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
 Attachments: HADOOP-10799.patch






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