hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: “Could not find or load main class” when running with systemctl
Date Thu, 31 Aug 2017 19:00:14 GMT
HBase has its own set of logs. Are you unable to find any? Or have
systemctl direct stdout/stderr somewhere that persists past startup.
S

On Thu, Aug 31, 2017 at 11:02 AM, Alexandr Porunov <
alexandr.porunov@gmail.com> wrote:

> There are no much information:
>
> 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
>
> Log files shows nothing interesting:
>
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 160324
> max locked memory       (kbytes, -l) 64
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 65536
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 65536
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
> Thu Aug 31 20:48:43 EEST 2017 Starting master on jblur.com
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 160324
> max locked memory       (kbytes, -l) 64
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 65536
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 65536
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
> Thu Aug 31 20:48:56 EEST 2017 Starting master on jblur.com
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 160324
> max locked memory       (kbytes, -l) 64
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 65536
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 65536
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
>
> Do you have any ideas?
>
> On Thu, Aug 31, 2017 at 7:16 PM, Stack <stack@duboce.net> wrote:
>
> > On Wed, Aug 30, 2017 at 3:14 AM, Alexandr Porunov <
> > alexandr.porunov@gmail.com> wrote:
> >
> > > Hello,
> > >
> > > I am trying to run hbase 1.3.1 with systemctl on fedora 26 but without
> > > success.
> > >
> > > If I execute `/usr/lib/hbase/bin/start-hbase.sh` it starts just fine.
> > > But I need to write systemctl wrapper around hbase.
> > > I don't understand what am I doing wrong. I am using hdfs user to start
> > > hbase in both cases.
> > >
> > > Here is my /etc/systemd/system/hbase.service :
> > >
> > >     [Unit]
> > >     Description=Hbase Service
> > >
> > >     [Service]
> > >     User=hdfs
> > >     Group=hadoop
> > >     Type=forking
> > >     ExecStart=/usr/lib/hbase/bin/start-hbase.sh
> > >     ExecStop=/usr/lib/hbase/bin/stop-hbase.sh
> > >     TimeoutStartSec=2min
> > >     Restart=on-failure
> > >
> > >     [Install]
> > >     WantedBy=multi-user.target
> > >
> > > After `systemctl start hbase` execution `systemctl status hbase` shows:
> > >
> > >     Error: Could not find or load main class Cannot
> > >
> > >
> > Can you figure how to get more output out of systemctl? Anything in hbase
> > logs?
> > S
> >
> >
> >
> >
> > > What am I doing wrong?
> > >
> > > Sincerely
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message