HBase Java jar unable to run



When i run this command it says HBase master is not running. And it doesnt allow me to start the HBase Master. Please advise the fix.

[srxx@ip-172-31-38-146 hbase]$ HADOOP_CLASSPATH=‘hbase classpath’ hadoop jar HBase_Customize.jar HBaseCustomization2
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/MasterNotRunningException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.hadoop.util.RunJar.run(RunJar.java:226)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.MasterNotRunningException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 4 more

SUDO command fails:
$ sudo service hbase-master start
[sudo] password for srxx :
Sorry, user srxx is not allowed to execute ‘/sbin/service hbase-master start’ as root on ip-172-31-38-146.ec2.internal.


Hi Any update on this? I am badly stuck with this issue.