[ https://issues.apache.org/jira/browse/PHOENIX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739376#comment-14739376 ]
alex kamil commented on PHOENIX-2246: ------------------------------------- my bad, included server jar instead of client, I do see spark classes in phoenix client and it works without phoenix-spark 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)