What if you run the following command ? systemctl start hbase-master
On Thu, Aug 31, 2017 at 10:59 AM, Alexandr Porunov < [email protected]> wrote: > Hello, > > I do understand that the question seems to be obvious and easy to solve, > but I already spend one week to solve this seems to be an easy task but > without success. > > I am running Fedora 26. > I tried to install hbase 1.2.6 and 1.3.1 the same problem occurs with both > versions. > Here is my /etc/init.d/hbasemaster : > http://paste.openstack.org/show/620119/ > > It looks OK. And works ok if I execute it: > `/etc/init.d/hbasemaster` > > But if I execute it with `systemctl start hbasemaster` it fails. > > `systemctl status hbasemaster` shows next: > Loaded: loaded (/etc/rc.d/init.d/hbasemaster; generated; vendor preset: > disabled) > Active: failed (Result: exit-code) since Thu 2017-08-31 20:48:57 EEST; > 45s ago > Docs: man:systemd-sysv-generator(8) > Process: 12138 ExecStart=/etc/rc.d/init.d/hbasemaster start > (code=exited, > status=1/FAILURE) > > Aug 31 20:48:57 jblur.com hbasemaster[12138]: Java HotSpot(TM) 64-Bit > Server VM warning: ignoring option PermSize=128m; support was removed in > 8.0 > Aug 31 20:48:57 jblur.com hbasemaster[12138]: Java HotSpot(TM) 64-Bit > Server VM warning: ignoring option MaxPermSize=128m; support was removed in > 8.0 > Aug 31 20:48:57 jblur.com hbasemaster[12138]: Java HotSpot(TM) 64-Bit > Server VM warning: ignoring option PermSize=128m; support was removed in > 8.0 > Aug 31 20:48:57 jblur.com hbasemaster[12138]: Java HotSpot(TM) 64-Bit > Server VM warning: ignoring option MaxPermSize=128m; support was removed in > 8.0 > Aug 31 20:48:57 jblur.com hbasemaster[12138]: Error: Could not find or > load > main class Cannot > Aug 31 20:48:57 jblur.com hbasemaster[12138]: ERROR. > Aug 31 20:48:57 jblur.com systemd[1]: hbasemaster.service: Control process > exited, code=exited status=1 > Aug 31 20:48:57 jblur.com systemd[1]: Failed to start LSB: Enable Hbase > services including hdfs. > Aug 31 20:48:57 jblur.com systemd[1]: hbasemaster.service: Unit entered > failed state. > Aug 31 20:48:57 jblur.com systemd[1]: hbasemaster.service: Failed with > result 'exit-code'. > > What is it? What does Cannot class means? Why this error happens only when > I try to run hbase as a service? > There is nothing in the log files when I run hbase as a service. Really no > information in the Internet. Seems that I am the first person who are > facing this problem. > > If you have any ideas, please share it. > > Best regards >
