Support Questions
Find answers, ask questions, and share your expertise

i have a problem to connect to Hbase with sparkStreaming !!!!!

i have a problem to connect to Hbase with sparkStreaming !!!!!

New Contributor

i have this error message :

3132-capture.png

my conf spark :

 val Hconf = HBaseConfiguration.create()
    // Initialize hBase table if necessary  
 Hconf.set("hbase.zookeeper.quorum", "****.fr.intranet,****.fr.intranet,****.fr.intranet")
 Hconf.set("hbase.zookeeper.property.clientPort", "2181")     
 Hconf.set("hbase.master", "1**.**.**.**:*****")     
 Hconf.set("hbase.cluster.distributed", "true")    
 Hconf.set("hbase.rootdir", "hdfs://hdfsdwb/apps/hbase/data")     
 Hconf.set("zookeeper.znode.parent", "/hbase-secure")
 Hconf.set(TableInputFormat.INPUT_TABLE, tableName)
 val admin = new HBaseAdmin(Hconf)

et I use HDP-2.3

3 REPLIES 3

Re: i have a problem to connect to Hbase with sparkStreaming !!!!!

It looks like you're not logged in via Kerberos.

Re: i have a problem to connect to Hbase with sparkStreaming !!!!!

New Contributor

no i m logged via Kerberos when i send my spark-submit

Re: i have a problem to connect to Hbase with sparkStreaming !!!!!

I'm not sure then. Your stack trace looks like it is local to your original JVM.

`/hbase-secure/unassigned` is also weird. I believe this is the old znode for what is now `regions-in-transition`. Was this an upgrade? Do you have `zookeeper.znode.unassigned` set in hbase-site.xml?