Apache Spark with Python: error

前端 未结 8 1619
别跟我提以往
别跟我提以往 2021-01-28 16:42

New to Spark. Downloaded everything alright but when I run pyspark I get the following errors:

Type \"help\", \"copyright\", \"credits\" or \"license\" for more          


        
相关标签:
8条回答
  • 2021-01-28 17:12

    I deleted the metastore_db directory and then things worked. I'm doing some light development on a macbook -- I had run pycharm to sync my directory with the server - I thin it picked up that spark specific directory and messed it up. For my the the error message came when I was trying to start an interactive ipython pyspark shell.

    0 讨论(0)
  • 2021-01-28 17:14

    I come across the error:

    raise IllegalArgumentException(s.split(': ', 1)[1], stackTrace)
    pyspark.sql.utils.IllegalArgumentException: u"Error while instantiating 'org.apache.spark.sql.hive.HiveSessionStateBuilder'
    

    this is because i already run ./bin/spark-shell

    So, just kill that spark-shell, and re-run ./bin/pyspark

    0 讨论(0)
提交回复
热议问题