apache-spark-on-k8s / spark

Apache Spark enhanced with native Kubernetes scheduler back-end: NOTE this repository is being ARCHIVED as all new development for the kubernetes scheduler back-end is now on https://github.com/apache/spark/
https://spark.apache.org/
Apache License 2.0
612 stars 118 forks source link

Make $SPARK_HOME writable when running non-root #538

Open erikerlandson opened 7 years ago

erikerlandson commented 7 years ago

We ran into another root vs non-root hiccup when testing OOB on openshift: #537 Should probably make $SPARK_HOME writable when running as non-root and/or under anonymous uid. Possible alternatives:

  1. simple chmod -R a+rwx $SPARK_HOME
  2. make it writable by group 0 (the group assigned to anonymous uids)
erikerlandson commented 7 years ago

cc @tmckayus @elmiko