您的位置:首页 > 其它

一些spark的相关链接

2015-12-24 10:12 204 查看
 http://hackers-duffers.logdown.com/posts/245018-configuring-spark-with-intellij

在/sbt/sbt package之后还要执行sbt assembly 才能生成assembly的jar包

运行时出现java.lang.NoSuchMethodError: scala.collection.immutable.HashSet$.empty()Lscala/collection/immutable/HashSet;错误时请确定spark的编译和执行均使用同一个scala版本,最好都用2.10 

运行时出现

Exception: Could not locate executable null\bin\winutils.exe in the Hadoop
请参照https://issues.apache.org/jira/browse/SPARK-2356的相关做法,下载或编译winutils.exe然后放在一个disk:\folder\bin目录下,然后设置环境变量HADOOP_HOME=disk:\folder

调试参见http://www.tamabc.com/article/144618.html 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: