Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12022

spark-shell cannot run on master created with spark-ec2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.5.1
    • None
    • EC2, Spark Shell, SQL
    • AWS EC2

    Description

      Running ./bin/spark-shell on the master node created with spark-ec2 results in:

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            simeons Simeon Simeonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: