aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-12-06 14:32:45 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2016-12-06 14:32:45 +0200
commit187884fc29025a3c10fe3fdc16d3f05a3eb51acd (patch)
tree7567cfe771200fd1c6e2360021d0c1e2e81f84f4
parent6fa2f44e0d1a3296755f67005e0cc11837c8180b (diff)
downloadbigtop-odpi-187884fc29025a3c10fe3fdc16d3f05a3eb51acd.tar.gz
spark: rpm: don't create versionless symlinks
Debian packages do it the same way so no reason to diverge. error: Installed (but unpackaged) file(s) found: /usr/lib/spark/yarn/datanucleus-api-jdo.jar /usr/lib/spark/yarn/datanucleus-core.jar /usr/lib/spark/yarn/datanucleus-rdbms.jar /usr/lib/spark/yarn/spark-yarn-shuffle.jar Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--bigtop-packages/src/common/spark/install_spark.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/bigtop-packages/src/common/spark/install_spark.sh b/bigtop-packages/src/common/spark/install_spark.sh
index 4e3e1817..773641e7 100644
--- a/bigtop-packages/src/common/spark/install_spark.sh
+++ b/bigtop-packages/src/common/spark/install_spark.sh
@@ -197,16 +197,8 @@ chmod 755 $PREFIX/$BIN_DIR/pyspark
touch $PREFIX/$LIB_DIR/RELEASE
cp ${BUILD_DIR}/{LICENSE,NOTICE} ${PREFIX}/${LIB_DIR}/
-# Version-less symlinks
-pushd $PREFIX/$LIB_DIR/yarn
-ln -s ./spark-*yarn-shuffle*.jar spark-yarn-shuffle.jar
-ln -s ../../jars/datanucleus-api-jdo*.jar datanucleus-api-jdo.jar
-ln -s ../../jars/datanucleus-core*.jar datanucleus-core.jar
-ln -s ../../jars/datanucleus-rdbms*.jar datanucleus-rdbms.jar
-popd
pushd $PREFIX/$LIB_DIR/extras/lib
for j in $(ls *.jar); do
ln -s $j $(echo $j | sed -n 's/\(.*\)\(_[0-9.]\+-[0-9.]\+\)\(.jar\)/\1\3/p')
done
popd
-