You could copy the spark folder to home directory of each user and set a
different Spark home for each one..not sure what derby is used for, but you
could try using mysql instead(if its for the hive metastore)
From: Robert Kudyba [mailto:rkud...@fordham.edu]
Sent: Wednesday, June 28, 2017 8:25
We have a Big Data class planned and we’d like students to be able to start
spark-shell or pyspark as their own user. However the Derby database locks the
process from starting as another user:
-rw-r--r-- 1 myuser staff 38 Jun 28 10:40 db.lck
And these errors appear:
ERROR PoolWatchThread: