-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
I am running hspark against hbase server but the most simple select count(*) from myTable query throws AnalysisException: Table or view not found error.
hbase-site.xml and core-site.xml are configured properly, visible to sparkContext.hadoopConfiguration, and working properly on other projects.
hbaseContext.catalog.listTables().show shows no tables at all. Am I missing some necessary initialization?
My code is:
class MyTests extends FunSuite with BeforeAndAfterAll {
val spark = SparkSession.builder().master("local[1]").getOrCreate()
val hbaseContext = new HBaseSparkSession(spark.sparkContext)
test("sanity test"){
import hbaseContext.sql
val df = sql("select * from myTable")
df.count()
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels