You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Mahonin (JIRA)" <ji...@apache.org> on 2015/09/10 21:08:45 UTC
[jira] [Comment Edited] (PHOENIX-2246) error “object spark is not a member of package org.apache.phoenix"
[ https://issues.apache.org/jira/browse/PHOENIX-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739387#comment-14739387 ]
Josh Mahonin edited comment on PHOENIX-2246 at 9/10/15 7:08 PM:
----------------------------------------------------------------
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:
{noformat}
SPARK_CLASSPATH=/opt/interset/spark/lib/phoenix-client-4.5.1-HBase-0.98.jar
{noformat}
was (Author: jmahonin):
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)