phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Margusja <mar...@roo.ee>
Subject Re: Spark 2.1.1 (Scala 2.11.8) write to Phoenix 4.7 (HBase 1.1.2)
Date Tue, 30 Jan 2018 15:06:10 GMT
Also I see that Logging is moved to internal/Logging. But is there package for my environment
I can use?

Margus


> On 30 Jan 2018, at 17:00, Margusja <margus@roo.ee> wrote:
> 
> Hi
> 
> Followed page (https://phoenix.apache.org/phoenix_spark.html <https://phoenix.apache.org/phoenix_spark.html>
<https://phoenix.apache.org/phoenix_spark.html <https://phoenix.apache.org/phoenix_spark.html>>)
and trying to save to phoenix.
> 
> Using spark-1.6.3 it is successful but using spark-2.1.1 it is not.
> First error I am getting using spark-2.1.1 is that:
> 
> Error:scalac: missing or invalid dependency detected while loading class file 'ProductRDDFunctions.class'.
> Could not access type Logging in package org.apache.spark,
> because it (or its dependencies) are missing. Check your build definition for
> missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic
classpath.)
> A full rebuild may help if 'ProductRDDFunctions.class' was compiled against an incompatible
version of org.apache.spark.
> 
> I can see that Logging is removed after 1.6.3 and does not exist in 2.1.1.
> 
> What are my options?
> 
> Br
> Margus


Mime
View raw message