[ https://issues.apache.org/jira/browse/PHOENIX-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kui xiang updated PHOENIX-3311: ------------------------------- Description: 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 was: 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,\n \ [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 } > 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)