[jira] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

Minor changes in the public API, removing some methods that don't need to be 
public. Additional testcases and some other minor improvements/clean up.



This is belongs to a string of patches built on top of each other:

* HADOOP-10817 proxyuser logic supporting custom prefix properties
* HADOOP-10799 HTTP delegation token built in client/server authentication 
classes
* HADOOP-10800 HttpFS using HADOOP-10799 and removing custom code
* HADOOP-10835 HTTP proxyuser logic built in client/server authentication 
classes
* HADOOP-10836 HttpFS using HADOOP-10835 and removing custom code
* HADOOP-10770 KMS delegation support using HADOOP-10799
* HADOOP-10698 KMS proxyuser support using HADOOP-10835


 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

adding a missing constructor to {{DelegationTokenAuthenticatedURL}}.

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

ok, found the issue, a commit from yesterday YARN-2233, was overlapping POM 
changes with the patch, patch rebased.

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Status: Open  (was: Patch Available)

canceling patch as some minor tweaks seems to be required in the DT client API 
to make DT wiring transparent.

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Status: Open  (was: Patch Available)

canceling patch, need to make the following changes:

* support DTs with pseudo authentication (per YARN-2228 TS seems to need that)
* use UGI current user on pseudo DT auth client side.
* There should be a way of providing a DelegationTokenSecretManager (ie to 
support a DTSM that uses a secret shared with other process)

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Status: Patch Available  (was: Open)

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

new patch addressing my previous comments and adding several more testcases 
including kerberos ones using minikdc

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

patch fixing the javac warnings

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

original patch was using {{InetAddress.getLoopbackAddress()}} method which is a 
JDK7 method, changed to use {{InetAddress.getLocalHost()}}.

 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] [Updated] (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:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

fixing javadoc and findbugs -1s. failing tests 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] [Updated] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-08 Thread Alejandro Abdelnur (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Summary: Refactor HTTP delegation token logic from httpfs into reusable 
code in hadoop-common.  (was: Refactor HTTP DT logic from httpfs into reusable 
code in hadoop-common.)

 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





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


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

2014-07-08 Thread Alejandro Abdelnur (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Attachment: HADOOP-10799.patch

The code in this patch is 99% from httpfs, with minor changes to make it 
reusable.

we cannot have it in hadoop-auth because all the dependencies from common 
(configuration, delegationtokens, etc).

HADOOP-10800 will remove the DT code from httpfs and use this one.

 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] [Updated] (HADOOP-10799) Refactor HTTP delegation token logic from httpfs into reusable code in hadoop-common.

2014-07-08 Thread Alejandro Abdelnur (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated HADOOP-10799:


Status: Patch Available  (was: Open)

 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)