You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Rajkumar <ra...@gmail.com> on 2013/06/23 06:54:12 UTC

Hbase pseudo distributed setup not starting

After extracting, changing etc/hosts file, made some changes in
hdfs-site.xml file and hbase-env.sh file. I cant see any of hbase process
running after issuing bin/start-hbase.sh command.

my hdfs-site.xml file is
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
 
  <property>
  	  <name>hbase.rootdir</name>
  	  <value>hdfs://localhost:9000/hbase</value>
  </property>
  
  <property>
  	  <name>hbase.cluster.distributed</name>
  	  <value>true</value>
  </property>
  
  <property>
  	   <name>hbase.master</name>
  	   <value>localhost:60010</value>
  </property>
  
  <property>
	  <name>hbase.zookeeper.quorum</name>
  	  <value>localhost</value>
  </property>
  
  <property>
           <name>dfs.replication</name>
           <value>1</value>
  </property>
  
  <property>
           <name>hbase.zookeeper.property.clientPort</name>
           <value>2181</value>
  </property>

  <property>
           <name>hbase.zookeeper.property.dataDir</name>
           <value>/home/hduser/hbase/zookeeper</value>
  </property>

</configuration>


my hbase-env.sh is
export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
export JAVA_HOME=/usr/local/java/jdk1.7.0
export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
export HBASE_MANAGES_ZK=false


I have also enivronment variable
export PATH=$PATH:$HADOOP_PREFIX/bin
export HBASE_HOME="/usr/local/hbase"
export PATH=$PATH:$HBASE_HOME/bin
export ZOOKEEPER_HOME="/usr/local/zookeeper"
export PATH=$PATH:$ZOOKEEPER_HOME/bin

but still i cant see any hbase process when i type jps in terminal.


Re: Hbase pseudo distributed setup not starting

Posted by Ulrich Staudinger <us...@activequant.com>.
is there anything in the log files? check both logs/*.out and logs/*.log


On Sun, Jun 23, 2013 at 6:54 AM, Rajkumar <ra...@gmail.com> wrote:

> After extracting, changing etc/hosts file, made some changes in
> hdfs-site.xml file and hbase-env.sh file. I cant see any of hbase process
> running after issuing bin/start-hbase.sh command.
>
> my hdfs-site.xml file is
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <configuration>
>
>   <property>
>           <name>hbase.rootdir</name>
>           <value>hdfs://localhost:9000/hbase</value>
>   </property>
>
>   <property>
>           <name>hbase.cluster.distributed</name>
>           <value>true</value>
>   </property>
>
>   <property>
>            <name>hbase.master</name>
>            <value>localhost:60010</value>
>   </property>
>
>   <property>
>           <name>hbase.zookeeper.quorum</name>
>           <value>localhost</value>
>   </property>
>
>   <property>
>            <name>dfs.replication</name>
>            <value>1</value>
>   </property>
>
>   <property>
>            <name>hbase.zookeeper.property.clientPort</name>
>            <value>2181</value>
>   </property>
>
>   <property>
>            <name>hbase.zookeeper.property.dataDir</name>
>            <value>/home/hduser/hbase/zookeeper</value>
>   </property>
>
> </configuration>
>
>
> my hbase-env.sh is
> export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
> export JAVA_HOME=/usr/local/java/jdk1.7.0
> export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
> export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
> export HBASE_MANAGES_ZK=false
>
>
> I have also enivronment variable
> export PATH=$PATH:$HADOOP_PREFIX/bin
> export HBASE_HOME="/usr/local/hbase"
> export PATH=$PATH:$HBASE_HOME/bin
> export ZOOKEEPER_HOME="/usr/local/zookeeper"
> export PATH=$PATH:$ZOOKEEPER_HOME/bin
>
> but still i cant see any hbase process when i type jps in terminal.
>
>


-- 
Ulrich Staudinger, Managing Director and Sr. Software Engineer, ActiveQuant
GmbH

P: +41 79 702 05 95
E: ustaudinger@activequant.com

http://www.activequant.com

AQ-R user? Join our mailing list:
http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/aqr-user

RE: Hbase pseudo distributed setup not starting

Posted by rajeshbabu chintaguntla <ra...@huawei.com>.
Hi Rajkumar,

bq. my hdfs-site.xml file is
The configurations you have mentioned should be in hbase-site.xml.
Can you check zk quorum,Namenode and DataNode are running fine?
One more thing is fs.defaultFs or fs.default.name in core-site.xml of hadoop should be hdfs://localhost:9000/

<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000/</value>
</property>
________________________________________
From: Rajkumar [rajkumar22791@gmail.com]
Sent: Sunday, June 23, 2013 10:24 AM
To: user@hbase.apache.org
Subject: Hbase pseudo distributed setup not starting

After extracting, changing etc/hosts file, made some changes in
hdfs-site.xml file and hbase-env.sh file. I cant see any of hbase process
running after issuing bin/start-hbase.sh command.

my hdfs-site.xml file is
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>

  <property>
          <name>hbase.rootdir</name>
          <value>hdfs://localhost:9000/hbase</value>
  </property>

  <property>
          <name>hbase.cluster.distributed</name>
          <value>true</value>
  </property>

  <property>
           <name>hbase.master</name>
           <value>localhost:60010</value>
  </property>

  <property>
          <name>hbase.zookeeper.quorum</name>
          <value>localhost</value>
  </property>

  <property>
           <name>dfs.replication</name>
           <value>1</value>
  </property>

  <property>
           <name>hbase.zookeeper.property.clientPort</name>
           <value>2181</value>
  </property>

  <property>
           <name>hbase.zookeeper.property.dataDir</name>
           <value>/home/hduser/hbase/zookeeper</value>
  </property>

</configuration>


my hbase-env.sh is
export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
export JAVA_HOME=/usr/local/java/jdk1.7.0
export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
export HBASE_MANAGES_ZK=false


I have also enivronment variable
export PATH=$PATH:$HADOOP_PREFIX/bin
export HBASE_HOME="/usr/local/hbase"
export PATH=$PATH:$HBASE_HOME/bin
export ZOOKEEPER_HOME="/usr/local/zookeeper"
export PATH=$PATH:$ZOOKEEPER_HOME/bin

but still i cant see any hbase process when i type jps in terminal.