Spark SQL Jar 包冲突
当运行Spark SQL 时,出现了以下的报错。
- *Symbol 'term com.fasterxml.jackson.annotation' is missing from the classpath. This symbol is required by ' <none>'. Make sure that term
annotation is in your classpath and check for conflicting
dependencies with `-Ylog-classpath`. A full rebuild may help if
'RDDOperationScope.class' was compiled against an incompatible
version of com.fasterxml.jackson*
细心观察报错可以发现,* version of com.fasterxml.jackson*
jackson本版本不匹配,这时候找到MAVEN路径下的
./org/htrace, 查看他的版本是否匹配。
如果版本不匹配,把其删掉即可,此时就可以正常运行了。