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

[email protected] commented on OOZIE-830:
-----------------------------------------------------


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

Review request for oozie.


Summary
-------

The sharelibrary override is supported at Oozie server level and at workflow 
job level.

The share library name will be resolved using the following precedence order:

action.sharelib.for.#ACTIONTYPE# in the action configuration (at action level)
action.sharelib.for.#ACTIONTYPE# in the job configuration (at job level)
action.sharelib.for.#ACTIONTYPE# in the oozie server configuration (at oozie 
server level)
action's ActionExecutor getDefaultShareLibName() method (default)


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


Diffs
-----

  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/DistcpActionExecutor.java
 1335346 
  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/HiveActionExecutor.java 
1335346 
  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java 
1335346 
  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/MapReduceActionExecutor.java
 1335346 
  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigActionExecutor.java 
1335346 
  
trunk/core/src/main/java/org/apache/oozie/action/hadoop/SqoopActionExecutor.java
 1335346 
  
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestJavaActionExecutor.java
 1335346 
  
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestMapReduceActionExecutor.java
 1335346 
  trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki 1335346 

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


Testing
-------


Thanks,

Alejandro


                
> add support for multiple/configurable sharelibs for each action type
> --------------------------------------------------------------------
>
>                 Key: OOZIE-830
>                 URL: https://issues.apache.org/jira/browse/OOZIE-830
>             Project: Oozie
>          Issue Type: New Feature
>          Components: action
>    Affects Versions: trunk
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: trunk
>
>
> Currently there is a fixed sharelib per action type. I.e.:
> {code}
> /share/lib/mapreduce-streaming/
>            pig/
>            hive/
>            sqoop/
> {code}
> It many situations it would be desirable to support multiple versions of 
> sharelib per component, have a system default, and allow users to override 
> the default for a specific version. I.e.:
> {code}
> /share/lib/mapreduce-streaming/
>            pig-0_8/ (default)
>            pig-0_9/
>            sqoop/
> {code}

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

        

Reply via email to