Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3311

phoenix-spark("4.8.0-HBase-1.2") is not compatible with spark 2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 4.8.0
    • None
    • None

    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

      Attachments

        Activity

          People

            kalyanhadoop Kalyan
            710253091@qq.com Kui Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: