Install hypertable on hadoop

Source: Internet
Author: User

Step 1
Install and start hadoop.

Step 2
Make sure you have extended attributes enabled on the partition that
Holds the root of the hyperspace directory tree. This will be the same
Disk volume that holds the installation (e.g .~ /Hypertable), unless you
Configured hyperspace explicitly to point to somewhere else. This is
Not necessary on the Mac, but is in general on Linux systems. To enable
Extended attributes on Linux, you need to add the user_xattr Property
To the relevant file systems in your/etc/fstab file. For example:

/Dev/hda3/home ext3 defaults, user_xattr 1 2you can then Remount the affected partitions as follows:

$ Mount-O remount/home

Step 3
Create the directory/hypertable in HDFS and make it writeable by all.

$ Hadoop FS-mkdir/hypertable $ hadoop FS-chmod 777/hypertable

Step 4
Edit the config file CONF/hypertable. cfg change the following property
To point to the hadoop filesystem that got up and running in step 1
(Assuming HDFS: // motherlode000: 9000 ):

Hdfsbroker. fs. Default. Name = HDFS: // motherlode001: 9000 change
Following two properties to point to the location of the hypertable
Master and hyperspace (assuming motherlode001 ):

Hyperspace. master. Host = motherlode001 hypertable. master. Host = motherlode001

Step 5
Start the master and hyperspace

SSH motherlode001 ~ /Hypertable/bin/start-master.sh for hadoop

Step 6
Start the range servers. Add all of the names of the machines that will
Be Running range servers to the file CONF/slaves relative to
Installation directory. Here's what an example one looks like:

$ Cat CONF/slaves motherlode001 motherlode002 motherlode003
Motherlode004 motherlode005 motherlode006 motherlode007
Motherlode008this slaves file, along with the entire installation
Shocould be pushed out to all of the machines using something like rsync.
Once you 've done this, you can launch all of the range servers with
Following command (assuming installation DIR is ~ /Hypertable on all
The machines ):

./Bin/slaves. Sh ~ /Hypertable/bin/start-range-server.sh hadoopnow you
Socould be able to run ~ /Hypertable/bin/hypertable hql command
Interpreter and start playing around.

Stopping the system
Execute the following commands to stop all of the servers:

SSH motherlode001 ~ /Hypertable/bin/kill-servers.sh./bin/slaves. Sh ~ /Hypertable/bin/kill-servers.sh

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.