File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ spark {
14
14
15
15
jobserver {
16
16
port = 8090
17
- jar-store-rootdir = /tmp/ jobserver/jars
17
+ jar-store-rootdir = ${HOME}/.spark- jobserver/jars
18
18
19
19
jobdao = spark.jobserver.io.JobFileDAO
20
20
21
21
filedao {
22
- rootdir = /tmp/ spark-job-server /filedao/data
22
+ rootdir = ${HOME}/. spark-jobserver /filedao/data
23
23
}
24
24
}
25
25
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 @@ -24,13 +24,13 @@ spark {
24
24
# }
25
25
26
26
filedao {
27
- rootdir = /tmp/ spark-jobserver/filedao/data
27
+ rootdir = ${HOME}/. spark-jobserver/filedao/data
28
28
}
29
29
30
30
datadao {
31
31
# storage directory for files that are uploaded to the server
32
32
# via POST/data commands
33
- rootdir = /tmp/ spark-jobserver/upload
33
+ rootdir = ${HOME}/. spark-jobserver/upload
34
34
}
35
35
36
36
cassandra {
@@ -55,12 +55,12 @@ spark {
55
55
jdbc-driver = org.h2.Driver
56
56
57
57
# Directory where default H2 driver stores its data. Only needed for H2.
58
- rootdir = /tmp/ spark-jobserver/sqldao/data
58
+ rootdir = ${HOME}/. spark-jobserver/sqldao/data
59
59
60
60
# Full JDBC URL / init string, along with username and password. Sorry, needs to match above.
61
61
# Substitutions may be used to launch job-server, but leave it out here in the default or tests won't pass
62
62
jdbc {
63
- url = "jdbc:h2:file:/tmp/ spark-jobserver/sqldao/data/h2-db"
63
+ url = "jdbc:h2:file:"${HOME}"/. spark-jobserver/sqldao/data/h2-db"
64
64
user = ""
65
65
password = ""
66
66
}
You can’t perform that action at this time.
0 commit comments