小编Aks*_*hay的帖子

为什么spark-shell失败并显示“ HDFS上的根暂存目录:/ tmp / hive应该是可写的”?

我是一个火花菜鸟,并使用Windows 10尝试使火花起作用。我已经正确设置了环境变量,并且我也有winutils。当我进入spark/bin并输入时spark-shell,它会运行spark,但是会出现以下错误。

而且它不显示spark上下文或spark会话。我一步一步地跟随了这个视频

C:\Users\Akshay\Downloads\spark\bin>spark-shell
    17/06/19 23:45:12 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    17/06/19 23:45:19 WARN General: Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/C:/Users/Akshay/Downloads/spark/bin/../jars/datanucleus-api-jdo-3.2.6.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/C:/Users/Akshay/Downloads/spark/jars/datanucleus-api-jdo-3.2.6.jar."
    17/06/19 23:45:20 WARN General: Plugin (Bundle) "org.datanucleus" is already registered. …
Run Code Online (Sandbox Code Playgroud)

apache-spark apache-spark-sql windows-10

4
推荐指数
1
解决办法
6991
查看次数