HBase not able to start problem



0
Alread set the environment variables in hbase-env.sh file under /hbase/conf/
Please uncomment the line:
#export JAVA_HOME=/usr/lib/-----------------------------------------

Enter the new line as:
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386

6 Answer(s)


0

Hi Jaison,
Please share the error with us. That would be more helpful.
Thanks

0

New release '14.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Fri Jan 8 21:33:56 2016
hadoop@hadoop:~$ start-hbase.sh
Error: Could not find or load main class java
Error: Could not find or load main class java
starting master, logging to /home/hadoop/hbase-0.94.27/bin/../logs/hbase-hadoop-master-hadoop.out
Error: Could not find or load main class java
localhost: starting regionserver, logging to /home/hadoop/hbase-0.94.27/bin/../logs/hbase-hadoop-regionserver-hadoop.out
hadoop@hadoop:~$





hadoop@hadoop:/usr/local/hbase/conf$ more hbase-env.sh
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you under the Apache License, Version 2.0 (the
# * "License"); you may not use this file except in compliance
# * with the License. You may obtain a copy of the License at
# *
# * http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */

# Set environment variables here.

# This script sets variables multiple times over the course of starting an hbase process,
# so try to keep things idempotent unless you want to take an even deeper look
# into the startup scripts (bin/hbase, etc.)

# The java implementation to use. Java 1.6 required.
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386

0

Hi Jaison,
Please share the output of this command :
- ls /usr/lib/jvm


0

Last login: Sat Jan 9 11:09:11 2016
hadoop@hadoop:~$ ls -lrt /usr/lib/jvm
total 4
lrwxrwxrwx 1 root root 19 Oct 23 03:16 java-1.7.0-openjdk-i386 -> java-7-openjdk-i386
drwxr-xr-x 7 root root 4096 Nov 16 22:04 java-7-openjdk-i386

0

Can you make one to one webinar session to examine the problem, currently I am stuck at here.

0

Hi Abhijit,

Are you there, yesterday you told me you will contact me on 7.30 singapore time.