[
https://issues.apache.org/jira/browse/OOZIE-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555670#comment-13555670
]
Alejandro Abdelnur commented on OOZIE-1054:
-------------------------------------------
Sorry for the late review, a few things:
* OozieFSCLI should be renamed to OozieSharelibCLI
* OozieSharelibCLI should support have an '-upgrade' option, without this
option, if the sharelib exists in HDFS, it should fail. With the option, if the
sharelib exists in HDFS, it should first delete the old version and then copy
the new one.
* OozieSharelibCLI should find out the HDFS URI from the Oozie configuration
* oozie-setup.sh:
** tar.gz is not a zip file, comment 'unzipping sharelib is not correct'
** -sharelib option should take a single parameter, the local sharelib location
(tar.gz or expanded)
** help message for -sharelib should be something along the following lines:
** the classpath construction can be simplified to be
OOZIECPPATH="${BASEDIR}/libtools/'*':${BASEDIR}/libext/'*'"
> Create script to properly upload sharelib to HDFS
> -------------------------------------------------
>
> Key: OOZIE-1054
> URL: https://issues.apache.org/jira/browse/OOZIE-1054
> Project: Oozie
> Issue Type: New Feature
> Components: scripts
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Bowen Zhang
> Priority: Minor
> Fix For: trunk
>
> Attachments: oozie-1054.patch, oozie-1054.patch, oozie-1054.patch
>
>
> A common confusion-point for users is how to properly install the sharelib in
> HDFS. It would be really useful if we could create a script to properly
> upload the sharelib to HDFS so we can get rid of the confusion around this.
> Alternatively, instead of a new script, we could have the oozie-setup.sh
> script take an argument that does this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira