You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 23:24:39 UTC

[jira] [Created] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Add proxyuser capabilities to Oozie HTTP API
--------------------------------------------

                 Key: OOZIE-652
                 URL: https://issues.apache.org/jira/browse/OOZIE-652
             Project: Oozie
          Issue Type: New Feature
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur


Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188701#comment-13188701 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4444
-----------------------------------------------------------

Ship it!


+1

- Virag


On 2012-01-18 21:00:42, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-18 21:00:42)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/pom.xml 1233015 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1233015 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1233015 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1233015 
bq.    /trunk/core/pom.xml 1233015 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1233015 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "Alejandro Abdelnur (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved OOZIE-652.
--------------------------------------

    Resolution: Fixed
    
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185229#comment-13185229 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4330
-----------------------------------------------------------



/trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java
<https://reviews.apache.org/r/3471/#comment9755>

    I know these classes are based on Hadoop implementations. 
    Adding a short comment about the high level functionality of this class will make it better readable. 



/trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java
<https://reviews.apache.org/r/3471/#comment9752>

    Please add the license header.



/trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java
<https://reviews.apache.org/r/3471/#comment9754>

    Why ThreadLocal data structure is required at this point?
    
    Is it for "static " get method.



/trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java
<https://reviews.apache.org/r/3471/#comment9748>

    The similar setParameter(..) might be needed for 'normal' user.
    That is add an 'else' block call it there (Deleted line 281)



/trunk/core/src/main/resources/oozie-default.xml
<https://reviews.apache.org/r/3471/#comment9749>

    Why the PausedTransitionService is remove?
    


- Mohammad


On 2012-01-12 17:31:21, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-12 17:31:21)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1229764 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1229764 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1229764 
bq.    /trunk/core/pom.xml 1229764 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1229764 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1229764 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1229764 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1229764 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1229764 
bq.    /trunk/pom.xml 1229764 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1229764 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184679#comment-13184679 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs
-----

  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1229764 
  /trunk/core/pom.xml 1229764 
  /trunk/core/src/main/conf/oozie-site.xml 1229764 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1229764 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1229764 
  /trunk/core/src/main/resources/oozie-default.xml 1229764 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1229764 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1229764 
  /trunk/pom.xml 1229764 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1229764 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185239#comment-13185239 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------



bq.  On 2012-01-12 20:51:12, Mohammad Islam wrote:
bq.  > /trunk/core/src/main/resources/oozie-default.xml, line 92
bq.  > <https://reviews.apache.org/r/3471/diff/1/?file=68207#file68207line92>
bq.  >
bq.  >     Why the PausedTransitionService is remove?
bq.  >

mistake, will add it back


bq.  On 2012-01-12 20:51:12, Mohammad Islam wrote:
bq.  > /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java, line 545
bq.  > <https://reviews.apache.org/r/3471/diff/1/?file=68206#file68206line545>
bq.  >
bq.  >     The similar setParameter(..) might be needed for 'normal' user.
bq.  >     That is add an 'else' block call it there (Deleted line 281)

mistake, will fix.


bq.  On 2012-01-12 20:51:12, Mohammad Islam wrote:
bq.  > /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java, line 34
bq.  > <https://reviews.apache.org/r/3471/diff/1/?file=68205#file68205line34>
bq.  >
bq.  >     Why ThreadLocal data structure is required at this point?
bq.  >     
bq.  >     Is it for "static " get method.

yes, to get the host of the request deeper in the request thread


bq.  On 2012-01-12 20:51:12, Mohammad Islam wrote:
bq.  > /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java, line 1
bq.  > <https://reviews.apache.org/r/3471/diff/1/?file=68204#file68204line1>
bq.  >
bq.  >     Please add the license header.

k


bq.  On 2012-01-12 20:51:12, Mohammad Islam wrote:
bq.  > /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java, line 26
bq.  > <https://reviews.apache.org/r/3471/diff/1/?file=68203#file68203line26>
bq.  >
bq.  >     I know these classes are based on Hadoop implementations. 
bq.  >     Adding a short comment about the high level functionality of this class will make it better readable.

k


- Alejandro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4330
-----------------------------------------------------------


On 2012-01-12 17:31:21, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-12 17:31:21)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1229764 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1229764 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1229764 
bq.    /trunk/core/pom.xml 1229764 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1229764 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1229764 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1229764 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1229764 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1229764 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1229764 
bq.    /trunk/pom.xml 1229764 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1229764 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188151#comment-13188151 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4432
-----------------------------------------------------------


Some minor comments


/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
<https://reviews.apache.org/r/3471/#comment9944>

    Can you catch a specific exception?



/trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java
<https://reviews.apache.org/r/3471/#comment9939>

    public static final



/trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java
<https://reviews.apache.org/r/3471/#comment9940>

    Is constructor required?



/trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java
<https://reviews.apache.org/r/3471/#comment9941>

    Is constructor required?



/trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java
<https://reviews.apache.org/r/3471/#comment9942>

    Class<? extends Service>



/trunk/docs/src/site/twiki/AG_Install.twiki
<https://reviews.apache.org/r/3471/#comment9943>

    remove 'a'


- Virag


On 2012-01-12 21:42:13, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-12 21:42:13)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1230797 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1230797 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1230797 
bq.    /trunk/core/pom.xml 1230797 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1230797 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1230797 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1230797 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1230797 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1230797 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1230797 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1230797 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1230797 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1230797 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1230797 
bq.    /trunk/pom.xml 1230797 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1230797 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185254#comment-13185254 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

(Updated 2012-01-12 21:32:20.741982)


Review request for oozie.


Summary (updated)
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.

The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs
-----

  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1229764 
  /trunk/core/pom.xml 1229764 
  /trunk/core/src/main/conf/oozie-site.xml 1229764 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1229764 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1229764 
  /trunk/core/src/main/resources/oozie-default.xml 1229764 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1229764 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1229764 
  /trunk/pom.xml 1229764 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1229764 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185086#comment-13185086 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

(Updated 2012-01-12 17:31:21.733209)


Review request for oozie.


Summary (updated)
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.

The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs
-----

  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1229764 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1229764 
  /trunk/core/pom.xml 1229764 
  /trunk/core/src/main/conf/oozie-site.xml 1229764 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1229764 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1229764 
  /trunk/core/src/main/resources/oozie-default.xml 1229764 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1229764 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1229764 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1229764 
  /trunk/pom.xml 1229764 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1229764 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188698#comment-13188698 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

(Updated 2012-01-18 21:00:42.319067)


Review request for oozie.


Changes
-------

addressing last virag's comment. thanks


Summary
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.

The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs (updated)
-----

  /trunk/pom.xml 1233015 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1233015 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1233015 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/main/resources/oozie-default.xml 1233015 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1233015 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1233015 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1233015 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1233015 
  /trunk/core/pom.xml 1233015 
  /trunk/core/src/main/conf/oozie-site.xml 1233015 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1233015 
  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1233015 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188707#comment-13188707 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4446
-----------------------------------------------------------

Ship it!


+1

- Mohammad


On 2012-01-18 21:00:42, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-18 21:00:42)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/pom.xml 1233015 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1233015 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1233015 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1233015 
bq.    /trunk/core/pom.xml 1233015 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1233015 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188665#comment-13188665 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

(Updated 2012-01-18 19:52:09.711019)


Review request for oozie.


Changes
-------

integrating all Virag's comments except the one regarding OozieCLI catching specific exception.

Regarding this specific comment, more specific exceptions are catch first and this is a last chance. Furthermore, this is a code move (indentation changed).


Summary
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.

The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs (updated)
-----

  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1233015 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1233015 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1233015 
  /trunk/core/pom.xml 1233015 
  /trunk/core/src/main/conf/oozie-site.xml 1233015 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1233015 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1233015 
  /trunk/core/src/main/resources/oozie-default.xml 1233015 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1233015 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1233015 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1233015 
  /trunk/pom.xml 1233015 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1233015 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185262#comment-13185262 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/
-----------------------------------------------------------

(Updated 2012-01-12 21:42:13.314596)


Review request for oozie.


Changes
-------

integrating Mohammad's feedback.


Summary
-------

Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.

The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs


This addresses bug OOZIE-652.
    https://issues.apache.org/jira/browse/OOZIE-652


Diffs (updated)
-----

  /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1230797 
  /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1230797 
  /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1230797 
  /trunk/core/pom.xml 1230797 
  /trunk/core/src/main/conf/oozie-site.xml 1230797 
  /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1230797 
  /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
  /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1230797 
  /trunk/core/src/main/resources/oozie-default.xml 1230797 
  /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1230797 
  /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
  /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1230797 
  /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1230797 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1230797 
  /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
  /trunk/docs/src/site/twiki/AG_Install.twiki 1230797 
  /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1230797 
  /trunk/pom.xml 1230797 
  /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1230797 

Diff: https://reviews.apache.org/r/3471/diff


Testing
-------

augmented testcases to test doAs.

built, install and run examples as doas user


Thanks,

Alejandro


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-652:
-------------------------------------

    Fix Version/s: 3.2.0
    
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 3.2.0
>
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-652) Add proxyuser capabilities to Oozie HTTP API

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188668#comment-13188668 ] 

jiraposter@reviews.apache.org commented on OOZIE-652:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3471/#review4441
-----------------------------------------------------------



/trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java
<https://reviews.apache.org/r/3471/#comment9972>

    If the default constructor is not required, plz remove it


- Virag


On 2012-01-18 19:52:09, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3471/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-18 19:52:09)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Adds doAs capability to oozie HTTP API, oozie Java API and oozie CLI.
bq.  
bq.  The GroupsService and ProxyUserService are a copycat from the code implemented for Hadoop httpfs
bq.  
bq.  
bq.  This addresses bug OOZIE-652.
bq.      https://issues.apache.org/jira/browse/OOZIE-652
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/OozieClient.java 1233015 
bq.    /trunk/client/src/main/java/org/apache/oozie/client/rest/RestConstants.java 1233015 
bq.    /trunk/core/pom.xml 1233015 
bq.    /trunk/core/src/main/conf/oozie-site.xml 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/ErrorCode.java 1233015 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/GroupsService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/service/ProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/HostnameFilter.java PRE-CREATION 
bq.    /trunk/core/src/main/java/org/apache/oozie/servlet/JsonRestServlet.java 1233015 
bq.    /trunk/core/src/main/resources/oozie-default.xml 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestGroupsService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/service/TestProxyUserService.java PRE-CREATION 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/DagServletTestCase.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/MockDagEngineService.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestAuthFilterAuthOozieClient.java 1233015 
bq.    /trunk/core/src/test/java/org/apache/oozie/servlet/TestHostnameFilter.java PRE-CREATION 
bq.    /trunk/docs/src/site/twiki/AG_Install.twiki 1233015 
bq.    /trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1233015 
bq.    /trunk/pom.xml 1233015 
bq.    /trunk/webapp/src/main/webapp/WEB-INF/web.xml 1233015 
bq.  
bq.  Diff: https://reviews.apache.org/r/3471/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  augmented testcases to test doAs.
bq.  
bq.  built, install and run examples as doas user
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add proxyuser capabilities to Oozie HTTP API
> --------------------------------------------
>
>                 Key: OOZIE-652
>                 URL: https://issues.apache.org/jira/browse/OOZIE-652
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> Enable users to submit jobs to oozie on behalf of another users providing similar functionality to hadoop proxy user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira