diff options
-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 |