[ https://issues.apache.org/jira/browse/SPARK-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029778#comment-15029778 ]
Prashant Sharma commented on SPARK-12022: ----------------------------------------- You can may be try running with -Djava.io.tmpdir="<something else>". > spark-shell cannot run on master created with spark-ec2 > ------------------------------------------------------- > > Key: SPARK-12022 > URL: https://issues.apache.org/jira/browse/SPARK-12022 > Project: Spark > Issue Type: Bug > Components: EC2, Spark Shell, SQL > Affects Versions: 1.5.1 > Environment: AWS EC2 > Reporter: Simeon Simeonov > Labels: ec2, spark-shell, sql > > Running {{./bin/spark-shell}} on the master node created with {{spark-ec2}} > results in: > {code} > java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: > /tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522) > at > org.apache.spark.sql.hive.client.ClientWrapper.<init>(ClientWrapper.scala:171) > at > org.apache.spark.sql.hive.HiveContext.executionHive$lzycompute(HiveContext.scala:162) > at > org.apache.spark.sql.hive.HiveContext.executionHive(HiveContext.scala:160) > at org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:167) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org