GitHub user Sanil15 opened a pull request:
https://github.com/apache/samza/pull/797
SAMZA-1817: Generating relative path from absolute paths
- We removed wildcarding to shorten the classpath since it induces
indeterminism in classpath on two consecutive deploys
- This patch constructs classpath (run-class.sh) by generating the relative
path from directory executing the script to target directory where jars are
present.
- From observations on deploying jobs on YARN and locally, we saw that we
can save over 65% of classpath length by switching to relative paths as
compared to the absolute path
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Sanil15/samza SAMZA-1817-reopen
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/797.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #797
----
commit 218ab2cb8bd8f9095a14c339427cb623c3fb9a91
Author: Sanil15 <sanil.jain15@...>
Date: 2018-11-06T19:39:37Z
Generating relative path from absolute paths
----
---