A crude workaround may be to run your spark shell with a sudo command.
Hope this helps,
Rick Hillegas
Sourav Mazumder wrote on 10/15/2015 09:59:02
AM:
> From: Sourav Mazumder
> To: user
> Date: 10/15/2015 09:59 AM
> Subject: SQL Context error in 1.5.1 - any work around ?
&
I keep on getting this error whenever I'm starting spark-shell : The root
scratch dir: /tmp/hive on HDFS should be writable. Current permissions are:
rwx--.
I cannot work with this if I need to do anything with sqlContext as that
does not get created.
I could see that a bug is raised for this