[
https://issues.apache.org/jira/browse/OOZIE-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549228#comment-16549228
]
Julia Kinga Marton edited comment on OOZIE-2829 at 7/19/18 3:06 PM:
--------------------------------------------------------------------
Using colon as sharelib separator is not a good idea, because as
[~andras.piros] pointed out, having an hdfs path
([hdfs://my/jar.jar#myjar.jar|#myjar.jar]) would cause some troubles. Using
semicolon is also a bad choice in Linux. What about using &?
This way the command would be:
-extralibs
sharelibName=/path/to/source/,/path/to/some/file&sharelibName2=/path/to/some/folder
Any other better ideas are welcome :)
was (Author: kmarton):
Using colon as sharelib separator is not a good idea, because as
[~andras.piros] pointed out, having an hdfs path
([hdfs://my/jar.jar#myjar.jar|#myjar.jar]) would cause some troubles. Using
semicolon is also a bad choice in Linux. What about using &?
This way the command would be:
-additional-lib
sharelibName=/path/to/source/,/path/to/some/file&sharelibName2=/path/to/some/folder
Any other better ideas are welcome :)
> Improve sharelib upload to accept multiple source folders
> ---------------------------------------------------------
>
> Key: OOZIE-2829
> URL: https://issues.apache.org/jira/browse/OOZIE-2829
> Project: Oozie
> Issue Type: Bug
> Components: tools
> Affects Versions: 5.0.0
> Reporter: Peter Cseh
> Assignee: Julia Kinga Marton
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-2829-006.patch, OOZIE-2829-007.patch,
> OOZIE-2829-008.patch, OOZIE-2829-01.patch, OOZIE-2829-02.patch,
> OOZIE-2829-03.patch, OOZIE-2829-04.patch, OOZIE-2829-05.patch
>
>
> Right now sharelib can be created via {{sharelib create -fs FS_URI -locallib
> SHARED_LIBRARY}} where the SHARED_LIBRARY can be a tarbal or a folder.
> It would be nice to have the possibility to define additional folders to be
> uploaded into the sharelib, so the users don't have to copy or link the files
> together on their machine.
> The syntax could be something like -additional-lib
> sharelibName=/path/to/source/;/path/to/some/file,sharelibName2=/path/to/some/folder
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)