[
https://issues.apache.org/jira/browse/OOZIE-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Sasvari updated OOZIE-2829:
----------------------------------
Attachment: OOZIE-2829-01.patch
Besides unit tests, I tested manually with the following:
{code}
$ mvn clean package assembly:single -DskipTests=true -DskipTests
-Dhadoop.version-2.6.0 -Puber
$ cd distro/target/oozie-4.4.0-SNAPSHOT-distro/oozie-4.4.0-SNAPSHOT/
$ mkdir -p spark2
$ touch spark2/2
$ touch 2_1
$ mkdir -p spark3
$ touch spark3/3
$ bin/oozied.sh start
$ bin/oozie-setup.sh sharelib create -fs hdfs://localhost:9000 -locallib
oozie-sharelib-4.4.0-SNAPSHOT.tar.gz -additional_libs
"spark2=spark2,2_1;spark3=spark3" -concurrency 4
{code}
Note: if a source directory is empty, it will be not copied to HDFS.
> 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
> Reporter: Peter Cseh
> Assignee: Attila Sasvari
> Attachments: OOZIE-2829-01.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
(v6.3.15#6346)