NUTCH2.3 hadoop2.7.1 hbase1.0.1.1 solr5.2.1 deployment (2), hadoop2.7 Installation

Source: Internet
Author: User

NUTCH2.3 hadoop2.7.1 hbase1.0.1.1 solr5.2.1 deployment (2), hadoop2.7 Installation
Zookeeper

Precondition:
Hadoop 2.7.1
Hbase 1.0.1.1/hbase 0.98.13

192.168.1.106-> master
192.168.1.105-> slave/regionservers


Hbase deployment

Directly download the hbase binfile

There are also hbase 0.98.13 and hadoop2.7.1/hadoop 2.5.2 in hbase1.0.1.1. But

Nutch2.3 seems to be better suited to hbase 0.98.13.

1. Configure hbase-site.xml

<configuration><property>    <name>hbase.zookeeper.quorum</name>    <value>192.168.1.105,192.168.1.106</value></property><property>      <name>hbase.master</name>      <value>192.168.1.106:60000</value></property><property><name>hbase.tmp.dir</name><value>/disk2/hbase/hbase-1.0.1.1/tmp</value></property><property><name>hbase.zookeeper.property.dataDir</name><value>/disk2/hbase/hbase-1.0.1.1/zookeepertmp</value></property><property>    <name>hbase.rootdir</name>    <value>hdfs://192.168.1.106:9000/hbase</value></property><property>    <name>hbase.cluster.distributed</name>    <value>true</value></property></configuration>


2. Configure regionservers and use 192.168.1.105 as regionservers only.

True> regionservers

Echo 192.168.1.105> regionservers

3. Configure hbase-env.sh

Export JAVA_HOME =/disk2/java/jdk1.8.0 _ 45

4. Copy the entire hbases directory to another machine.
Scp-r hbase/192.168.1.105:/disk2/

5. Start

Bin/start-hbase.sh (start hadoop first)

6. Test and view

Http: // 192.168.1.106: 60010/master-status (0.98.13)

Http: // 192.168.1.106: 16010/master-status (1.0.1.1)

7. The most common problem during the process is that HMaster and HRegionServer cannot coexist, and often one of them exits:

Master. HMasterCommandLine: Master exiting
Java. lang. RuntimeException: HMaster Aborted

Solution:

Rm/tmp/hbase-root/-rf
Bin/hbase-cleanup.sh -- cleanAll
Bin/zookeepers. sh clear

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.