Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

errorobjecthbaseisnotamemberofpackageorgapachehadoopwithsparkshell

I run the Spark-shell with: ./bin/spark-shell

and I want to import org.apache.hadoop.hbase, but here is the error:

scala> import org.apache.hadoop.hbase

: error: object hbase is not a member of package org.apache.hadoop

Here is my spark-env.sh:

export HADOOP_HOME=/usr/local/hadoop

export SPARK_DIST_CLASSPAH=$(/usr/local/hadoop/bin/hadoop classpath)

export HBASE_HOME=/usr/local/hbase

export SPARK_CLASSPATH=/usr/local/hbase/lib/*

why would this problem happen?

Comments