[ 
https://issues.apache.org/jira/browse/PHOENIX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739347#comment-14739347
 ] 

Josh Mahonin commented on PHOENIX-2246:
---------------------------------------

[~jamestaylor] Very briefly between releases, phoenix-spark had been removed 
from the client assembly pom due to the size of the dependencies it was pulling 
in. The relevant commit which fixed that is here, and I believe was included in 
4.5.0:
https://github.com/apache/phoenix/commit/b61ef77e509a024ccaf6c3ce74c385c31c5f534a

The 4.5.1 client JAR I just downloaded has those classes available, and I don't 
see any relevant changes since 4.5.0 (which I use myself) so I think that 
should be OK. However, I can't 100% confirm till late tonight or tomorrow.

> error “object spark is not a member of package org.apache.phoenix"
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-2246
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2246
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.5.1
>            Reporter: alex kamil
>            Priority: Minor
>
> phoenix binaries  (phoenix-4.5.1-HBase-1.0-bin) do not include phoenix-spark 
> jar,
> so after adding phoenix client jar on spark classpath getting " error “object 
> spark is not a member of package org.apache.phoenix" in spark shell
> the solution was to build phoenix from source and add  
> phoenix-4.5.1-HBase-1.0-src/phoenix-spark/target/phoenix-spark-4.5.1-HBase-1.0.jar
>  to SPARK_CLASSPATH in spark-env.sh 
> pls add phoenix spark jar to the binaries distribution and also add to 
> documentation that  phoenix-spark jar is required on the spark classpath



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to