[
https://issues.apache.org/jira/browse/PHOENIX-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511976#comment-15511976
]
kui xiang commented on PHOENIX-3311:
------------------------------------
"Logging" has bean removed from package org.apache.spark
and they provide a resolution
(https://issues.apache.org/jira/browse/SPARK-13928)
> phoenix-spark("4.8.0-HBase-1.2") is not compatible with spark 2.0
> -----------------------------------------------------------------
>
> Key: PHOENIX-3311
> URL: https://issues.apache.org/jira/browse/PHOENIX-3311
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: kui xiang
> Priority: Critical
> Labels: phoenix, spark2.0.0
>
> sbt:
> libraryDependencies += "org.apache.phoenix" % "phoenix-spark" %
> "4.8.0-HBase-1.2"
> scala:
> import org.apache.phoenix.spark._
> will compile fail with errors like
> [error] missing or invalid dependency detected while loading class file
> 'ProductRDDFunctions.class'.
> [error] Could not access type Logging in package org.apache.spark,
> [error] because it (or its dependencies) are missing. Check your build
> definition for
> [error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath`
> to see the problematic classpath.)
> [error] A full rebuild may help if 'ProductRDDFunctions.class' was compiled
> against an incompatible version of org.apache.spark.
> [error] one error found
> [debug] Compilation failed (CompilerInterface)
> [error] (compile:compileIncremental) Compilation failed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)