[
https://issues.apache.org/jira/browse/OOZIE-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271912#comment-13271912
]
[email protected] commented on OOZIE-830:
-----------------------------------------------------
bq. On 2012-05-09 20:35:13, Mohammad Islam wrote:
bq. > How will a user know what are the system supported versions? There could
be a utility for that.
bq. >
bq. > Another point, if a user gives a wrong or not supported version, how
will that be communicated to the end-user.
bq. >
listing the contents of the HDFS /user/oozie/share/lib directory will tell the
supported versions.
a wrong version will make the action to fail with JARs not found, if the dir is
not avail in HDFS the action won't have the JARs files in its classpath
bq. On 2012-05-09 20:35:13, Mohammad Islam wrote:
bq. >
trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java,
line 1116
bq. >
<https://reviews.apache.org/r/5063/diff/3/?file=107695#file107695line1116>
bq. >
bq. > If name is 'null' after that, what will happen?
bq. > Should we throw an error?
bq. >
bq. >
no, if null it means the action does not have a sharelib (ie mapreduce or java)
- Alejandro
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5063/#review7741
-----------------------------------------------------------
On 2012-05-08 07:06:23, Alejandro Abdelnur wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/5063/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-05-08 07:06:23)
bq.
bq.
bq. Review request for oozie.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. The sharelibrary override is supported at Oozie server level and at
workflow job level.
bq.
bq. The share library name will be resolved using the following precedence
order:
bq.
bq. action.sharelib.for.#ACTIONTYPE# in the action configuration (at action
level)
bq. action.sharelib.for.#ACTIONTYPE# in the job configuration (at job level)
bq. action.sharelib.for.#ACTIONTYPE# in the oozie server configuration (at
oozie server level)
bq. action's ActionExecutor getDefaultShareLibName() method (default)
bq.
bq.
bq. This addresses bug OOZIE-830.
bq. https://issues.apache.org/jira/browse/OOZIE-830
bq.
bq.
bq. Diffs
bq. -----
bq.
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/DistcpActionExecutor.java
1335346
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/HiveActionExecutor.java
1335346
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
1335346
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/MapReduceActionExecutor.java
1335346
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/PigActionExecutor.java
1335346
bq.
trunk/core/src/main/java/org/apache/oozie/action/hadoop/SqoopActionExecutor.java
1335346
bq.
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestJavaActionExecutor.java
1335346
bq.
trunk/core/src/test/java/org/apache/oozie/action/hadoop/TestMapReduceActionExecutor.java
1335346
bq. trunk/docs/src/site/twiki/WorkflowFunctionalSpec.twiki 1335346
bq.
bq. Diff: https://reviews.apache.org/r/5063/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. besides testcases, tested in a deployed setup
bq.
bq.
bq. Thanks,
bq.
bq. Alejandro
bq.
bq.
> 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