File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Script for packaging all the job server files to .tar.gz for Mesos or other single-image deploys
3
- WORK_DIR=/tmp/job-server
3
+ WORK_DIR=" $TMPDIR " /tmp/job-server
4
4
5
5
ENV=$1
6
6
if [ -z " $ENV " ]; then
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ if [ -z "$SPARK_CONF_DIR" ]; then
38
38
fi
39
39
40
40
if [ -z " $LOG_DIR " ]; then
41
- LOG_DIR=/tmp/job-server
41
+ LOG_DIR=" $TMPDIR " /tmp/job-server
42
42
echo " LOG_DIR empty; logging will go to $LOG_DIR "
43
43
fi
44
44
mkdir -p $LOG_DIR
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ elif [ -z "$ENV" ]; then
31
31
exit 1
32
32
fi
33
33
34
- SPARK_VERSION=1.4.1.1 # Last digit is DSE Specific
35
-
36
34
DEPLOY_HOSTS=" localhost"
37
35
38
36
INSTALL_DIR=" $DSE_COMPONENTS_ROOT /spark/spark-jobserver"
@@ -41,5 +39,3 @@ LOG_DIR=/var/log/spark/job-server
41
39
PIDFILE=spark-jobserver.pid
42
40
43
41
SPARK_CONF_DIR=${SPARK_CONF_DIR:- " $SPARK_HOME /conf" }
44
-
45
- SCALA_VERSION=2.10.5 # or 2.11.6
Original file line number Diff line number Diff line change 1
- version in ThisBuild := " 0.6.2.100"
1
+ def currentVersion : String = (" git describe --tags --match v*" !! ).trim.substring(1 )
2
+
3
+ version in ThisBuild := currentVersion
You can’t perform that action at this time.
0 commit comments