hi i tried to install Hbase on ubuntu.i struck here with this problem
beeshma@ubuntu:~$ start-hbase.shError: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool Error: Could not find or load main class org.apache.hadoop.hbase.zookeeper.ZKServerTool Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster localhost: /home/beeshma/hbase-0.98.5/bin/../conf/hbase-env.sh: line 6: s#: command not found localhost: starting regionserver, logging to /home/beeshma/hbase-0.98.5/bin/../logs/hbase-beeshma-regionserver-ubuntu.out localhost: Error: Could not find or load main class org.apache.hadoop.hbase.regionserver.HRegionServer
i tried some previous versions also.But no use Here i attached hbase-site.xml,hbase-env.sh,log files pls suggest how to proceed with this error
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- /** * * 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. */ --> <configuration> <property> <name>hbase.rootdir</name> <value>file:///home/beeshma/hbase_main</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/home/beeshma/hbase_zoo</value> </property> </configuration>
hbase-env.sh
Description: application/shellscript
Sat Sep 13 02:38:18 PDT 2014 Starting master on ubuntu core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15318 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 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) 15318 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Sat Sep 13 03:00:56 PDT 2014 Starting master on ubuntu core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15318 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 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) 15318 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Sat Sep 13 03:01:18 PDT 2014 Starting master on ubuntu core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15318 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 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) 15318 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster
