diff options
author | François Garillot | 2017-08-07 16:15:19 -0400 |
---|---|---|
committer | François Garillot | 2017-08-07 16:15:19 -0400 |
commit | c665ccee046b7730a44244cd7a5d8264d142a488 (patch) | |
tree | f0f2eb9d2687c37f03cdd62b98b8f8d53c3607d4 | |
parent | 4b19c7abd8cc1a33ff56b1b4069e204aa83660ee (diff) | |
download | aur-c665ccee046b7730a44244cd7a5d8264d142a488.tar.gz |
Slightly more relaxed permissions
Inspired from https://github.com/huitseeker/apache-spark/pull/1/files
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | spark-env.sh | 4 |
3 files changed, 7 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Jul 12 18:57:25 UTC 2017 +# Mon Aug 7 20:15:14 UTC 2017 pkgbase = apache-spark pkgdesc = fast and general engine for large-scale data processing pkgver = 2.2.0 - pkgrel = 1 + pkgrel = 2 url = http://spark.apache.org install = apache-spark.install arch = any @@ -3,7 +3,7 @@ pkgname=apache-spark pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="fast and general engine for large-scale data processing" arch=('any') url="http://spark.apache.org" @@ -42,7 +42,8 @@ prepare() { package() { cd "$srcdir/spark-${pkgver}-bin-without-hadoop" - install -d "$pkgdir/usr/bin" "$pkgdir/opt" "$pkgdir/var/log/apache-spark" + install -d "$pkgdir/usr/bin" "$pkgdir/opt" "$pkgdir/var/log/apache-spark" "$pkgdir/var/lib/apache-spark/work" + chmod 2775 "$pkgdir/var/log/apache-spark" "$pkgdir/var/lib/apache-spark/work" cp -r "$srcdir/spark-${pkgver}-bin-without-hadoop" "$pkgdir/opt/apache-spark/" diff --git a/spark-env.sh b/spark-env.sh index b11344f9722a..14625399700e 100644 --- a/spark-env.sh +++ b/spark-env.sh @@ -2,5 +2,5 @@ export JAVA_HOME=/usr/lib/jvm/default-runtime export SPARK_DIST_CLASSPATH=$(hadoop classpath) -SPARK_MASTER_IP=127.0.0.1 -SPARK_LOCAL_IP=127.0.0.1 +SPARK_MASTER_IP=localhost +SPARK_LOCAL_IP=localhost |