Reply
Highlighted
New Contributor
Posts: 6
Registered: ‎06-14-2018

java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

I am using CDH5.12.2. I Cannot start HBASE Master. I Got, 

java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

 

At Java Configuration Option for HBASE Master in Cloudera Manager, I configured,

-Dsplice.spark.driver.extraClassPath=/opt/cloudera/parcels/SPLICEMACHINE/lib/*:/opt/cloudera/parcels/CDH/lib/hbase/conf

-Dsplice.spark.executor.extraClassPath=/opt/cloudera/parcels/CDH/lib/hbase/conf:/opt/cloudera/parcels/SPLICEMACHINE/lib/*

-Dsplice.spark.yarn.jars=/opt/cloudera/parcels/SPLICEMACHINE/lib/*

 

The jars are at 

/opt/cloudera/parcels/SPLICEMACHINE/lib/.

 

But, I got errors:

 

ERROR org.apache.hadoop.hbase.coprocessor.CoprocessorHost: The coprocessor com.splicemachine.hbase.SpliceMasterObserver threw java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadSystemCoprocessors(CoprocessorHost.java:158)

        at org.apache.hadoop.hbase.master.MasterCoprocessorHost.<init>(MasterCoprocessorHost.java:92)

        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:741)

        at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:194)

        at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1834)

        at java.lang.Thread.run(Thread.java:745)

2018-06-22 09:24:15,482 FATAL org.apache.hadoop.hbase.master.HMaster: The coprocessor com.splicemachine.hbase.SpliceMasterObserver threw java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.loadSystemCoprocessors(CoprocessorHost.java:158)

        at org.apache.hadoop.hbase.master.MasterCoprocessorHost.<init>(MasterCoprocessorHost.java:92)

        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:741)

        at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:194)

        at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1834)

        at java.lang.Thread.run(Thread.java:745)

 

 

 

Cloudera Employee
Posts: 38
Registered: ‎08-16-2016

Re: java.lang.ClassNotFoundException: com.splicemachine.hbase.SpliceMasterObserver

Most likely the splice machine libraries are not in the classpath. To check, search for "INFO org.apache.hadoop.hbase.util.ServerCommandLine: env:CLASSPATH=" in the HMaster log. Check if the classpath has splice machine libs (I assume they are under /opt/cloudera/parcels/SPLICEMACHINE/lib/)

Announcements