[
https://issues.apache.org/jira/browse/PHOENIX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
alex kamil updated PHOENIX-2246:
--------------------------------
Description:
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
was:
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 compile phoenix from source and add phoenix-spark jar
pls add phoenix spark jar to the binaries and also add to documentation that
phoenix-spark jar is required on the spark classpath
> 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)