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

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

I tracked down a machine that had 4.5.1-HBase-0.98 on it. I'm able to load the 
phoenix-spark dependencies from spark-shell without issue.

For reference, my spark-env.sh:
{{ SPARK_CLASSPATH=/opt/interset/spark/lib/phoenix-client-4.5.1-HBase-0.98.jar 
}}


> 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