default spark is built with spark 1.x
I replace hadoop*1.0.4.jar in lib_managed with hadoop*2.2.0.jar,
but all jar files will be updated back into 1.0.4 after sbt assembly.
The below command will lead you to the success :
SPARK_HADOOP_VERSION=2.2.0 sbt/sbt clean compile package assembly
spark 0.9 with hadoop 2.2,布布扣,bubuko.com
原文:http://www.cnblogs.com/enyun/p/3590075.html