Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Re: -ROOT-, .META. will stay OFFLINE after installing in hbase-0.94.0


Copy link to this message
-
Re: -ROOT-, .META. will stay OFFLINE after installing in hbase-0.94.0
Hi,

what do you means stay OFFLINE ? Can you use hbase shell and do these
queries:

- scan '-ROOT-'
- scan '.META.', {COLUMNS => 'info:server', LIMIT => 10}

Can you go to hbasemaster:60010/zk.jsp and check is zookeeper running in
non-safemode mode ?

-- Khang

On Fri, Aug 3, 2012 at 9:33 AM, 刘立 <[EMAIL PROTECTED]> wrote:

> Hi Dear:
>
> I met problem with starting Hbase:
>
> I have 5 machines (Ubuntu)
>
> 109.123.121.23 rsmm-master.example.com
> 109.123.121.24 rsmm-slave-1.example.com
> 109.123.121.25 rsmm-slave-2.example.com
> 109.123.121.26 rsmm-slave-3.example.com
> 109.123.121.27 rsmm-slave-4.example.com
>
> *Hadoop 0.20.205.0
> Zookeeper: zookeeper-3.3.5.jar
> Hbase: hbase-0.94.0*
>
> The configuration file:
> 1. /etc/hosts seting is fine
> #127.0.0.1 localhost
> 109.123.121.23 rsmm-master.example.com
> 109.123.121.24 rsmm-slave-1.example.com
> 109.123.121.25 rsmm-slave-2.example.com
> 109.123.121.26 rsmm-slave-3.example.com
> 109.123.121.27 rsmm-slave-4.example.com
>
> 1.     The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 2. /home/hduser/hadoop-0.20.205.0/conf/core-site.xml:
> <property>
> <name>hadoop.tmp.dir</name>
> <value>/home/hduser/hadoop-0.20.205.0/data</value>
> </property>
> <property>
> <name>fs.default.name</name>
> <value>hdfs://rsmm-master.example.com:9000</value>
> </property>
>
> 3. I use individual zookeeper. /home/hduser/zookeeper/conf/zoo.cfg
> tickTime=2000
> dataDir=/home/hduser/zookeeper/conf
> dataLogDir=/home/hduser/zookeeper/logs
> clientPort=2181
> initLimit=10
> syncLimit=5
> minSessionTimeout=10000
> maxSessionTimeout=20000
> server.1=rsmm-master.example.com:2888:3888
> server.2=rsmm-slave-1.example.com:2888:3888
> server.3=rsmm-slave-2.example.com:2888:3888
> server.4=rsmm-slave-3.example.com:2888:3888
> server.5=rsmm-slave-4.example.com:2888:3888
>
> 4. /home/hduser/hbase/conf/hbase-site.xml
>
> <property>
> <name>hbase.zookeeper.quorum</name>
> <value>rsmm-master.example.com,rsmm-slave-1.example.com,
> rsmm-slave-2.example.com,rsmm-slave-3.example.com,rsmm-slave-4.example.com
> </value>
> </property>
> <property>
> <name>hbase.master</name>
> <value>rsmm-master.example.com:60000</value>
> </property>
> <property>
> <name>hbase.zookeeper.property.dataDir</name>
> <value>/home/hduser/zookeeper/conf</value>
> </property>
> <property>
> <name>hbase.rootdir</name>
> <value>hdfs://rsmm-master.example.com:9000/hbase</value>
> </property>
> <property>
> <name>dfs.support.append</name>
> <value>true</value>
> </property>
> <property>
> <name>hbase.cluster.distributed</name>
> <value>true</value>
> </property>
> <property>
> <name>hbase.master.maxclockskew</name>
> <value>180000</value>
> </property>
> <property>
> <name>hbase.master.distributed.log.splitting</name>
> <value>false</value>
> </property>
> <property>
> <name>hbase.master.info.port</name>
> <value>60010</value>
> </property>
> <property>
> <name>hbase.master.port</name>
> <value>60000</value></property>
> <property>
> <name>hbase.defaults.for.version.skip</name>
> <value>true</value>
> </property>
>
> 5. /home/hduser/hbase/conf/hbase-env.sh
> export JAVA_HOME=/usr/java/jre1.6.0_33
> export HADOOP_HOME=/home/hduser/hadoop-0.20.205.0
> export HBASE_HOME=/home/hduser/hbase
> export PATH=$PATH:/home/hduser/hbase/bin
> export HBASE_CLASSPATH=/home/hduser/hadoop-0.20.205.0/conf
> export HBASE_HEAPSIZE=2048
> export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
> export HBASE_MANAGES_ZK=false
>
> I have checked the configuration file, I believe it is set OK
>
>
> ============================================================================>
> Then I start hadoop, it is OK
> because I could visit:
> http://109.123.121.23:50030/jobtracker.jsp
> http://109.123.121.23:50070/dfshealth.jsp
> http://109.123.121.24:50060/tasktracker.jsp
> http://109.123.121.25:50060/tasktracker.jsp
> http://109.123.121.26:50060/tasktracker.jsp
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB