File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 34
34
DEPLOY_HOSTS=" localhost"
35
35
36
36
INSTALL_DIR=" $DSE_COMPONENTS_ROOT /spark/spark-jobserver"
37
- LOG_DIR=/var/log/ spark/job-server
37
+ LOG_DIR=" ${LOG_DIR :- " $HOME /. spark-jobserver " } "
38
38
39
39
PIDFILE=spark-jobserver.pid
40
-
41
- SPARK_CONF_DIR=${SPARK_CONF_DIR:- " $SPARK_HOME /conf" }
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ spark {
33
33
cache-on-upload = true
34
34
35
35
filedao {
36
- rootdir = /tmp/ spark-jobserver/filedao/data
36
+ rootdir = ${HOME}/. spark-jobserver/filedao/data
37
37
}
38
38
39
39
datadao {
40
40
# storage directory for files that are uploaded to the server
41
41
# via POST/data commands
42
- rootdir = /tmp/ spark-jobserver/upload
42
+ rootdir = ${HOME}/. spark-jobserver/upload
43
43
}
44
44
45
45
cassandra {
@@ -64,12 +64,12 @@ spark {
64
64
jdbc-driver = org.h2.Driver
65
65
66
66
# Directory where default H2 driver stores its data. Only needed for H2.
67
- rootdir = /tmp/ spark-jobserver/sqldao/data
67
+ rootdir = ${HOME}/. spark-jobserver/sqldao/data
68
68
69
69
# Full JDBC URL / init string, along with username and password. Sorry, needs to match above.
70
70
# Substitutions may be used to launch job-server, but leave it out here in the default or tests won't pass
71
71
jdbc {
72
- url = "jdbc:h2:file:/tmp/ spark-jobserver/sqldao/data/h2-db"
72
+ url = "jdbc:h2:file:"${HOME}"/. spark-jobserver/sqldao/data/h2-db"
73
73
user = ""
74
74
password = ""
75
75
}
You can’t perform that action at this time.
0 commit comments