Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database

前端 未结 11 958
深忆病人
深忆病人 2020-12-14 17:11

I am trying to run SparkSQL :

val sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)  

But the error i m getting is below:

11条回答
  •  生来不讨喜
    2020-12-14 17:31

    I was facing the same issue while creating table.

    sqlContext.sql("CREATE TABLE....
    

    I could see many entries for ps -ef | grep spark-shell so I killed all of them and restarted spark-shell. It worked for me.

提交回复
热议问题