This is an automated email from the ASF dual-hosted git repository.
rpardomeza pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
The following commit(s) were added to refs/heads/main by this push:
new 00fadcff [WAYANG-assembly] correction in the folder structure (#259)
00fadcff is described below
commit 00fadcffdce62899edd3505ce7acf525dd167329
Author: Bertty Contreras-Rojas <[email protected]>
AuthorDate: Fri Jul 8 14:30:41 2022 +0200
[WAYANG-assembly] correction in the folder structure (#259)
Signed-off-by: bertty <[email protected]>
---
bin/wayang-submit | 5 +++--
wayang-assembly/src/main/assembly/assembly.xml | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/bin/wayang-submit b/bin/wayang-submit
index a0ef256e..9cb4d48b 100755
--- a/bin/wayang-submit
+++ b/bin/wayang-submit
@@ -79,11 +79,12 @@ if [ -d "${HADOOP_HOME}" ]; then
fi
-WAYANG_CODE="${WAYANG_HOME}/lib"
+WAYANG_CODE="${WAYANG_HOME}/jars"
+WAYANG_LIBS="${WAYANG_HOME}/libs"
WAYANG_CONF="${WAYANG_HOME}/conf"
# Bootstrap the classpath.
-WAYANG_CLASSPATH="${WAYANG_CONF}:${WAYANG_CODE}/*"
+WAYANG_CLASSPATH="${WAYANG_CONF}/*:${WAYANG_CODE}/*:${WAYANG_LIBS}/*"
WAYANG_CLASSPATH="${WAYANG_CLASSPATH}:${SPARK_JARS_DIR}/*:${HADOOP_JARS_DIR}"
diff --git a/wayang-assembly/src/main/assembly/assembly.xml
b/wayang-assembly/src/main/assembly/assembly.xml
index 73b43d18..2be5978b 100644
--- a/wayang-assembly/src/main/assembly/assembly.xml
+++ b/wayang-assembly/src/main/assembly/assembly.xml
@@ -62,6 +62,7 @@
<dependencySets>
<dependencySet>
+ <outputDirectory>${wayang.name}/jars</outputDirectory>
<includes>
<include>org.apache.wayang:*:jar</include>
</includes>
@@ -70,11 +71,12 @@
</excludes>
</dependencySet>
<dependencySet>
- <outputDirectory>${wayang.name}/lib</outputDirectory>
+ <outputDirectory>${wayang.name}/libs</outputDirectory>
<useTransitiveDependencies>true</useTransitiveDependencies>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<excludes>
+ <exclude>org.apache.wayang:*:jar</exclude>
<exclude>org.apache.hadoop:*:jar</exclude>
<exclude>org.apache.spark:*:jar</exclude>
<exclude>org.apache.flink:*:jar</exclude>