A collection of problems in the construction of Hadoop,hbase cluster environment (i.)

Source: Internet
Author: User
Tags gz file

    1. Let the virtual machine get the IP address of the network?
      Answer: Right-click the virtual machine

      Network adapter->network Connection is set to
      Bridged:connected directly to the physical network
    2. When configuring SSH for free login, copy the

      WORKAROUND: Use the command: add-i option
      Ssh-copy-id-i id_rsa.pub Master2
      With option-I, when no value is passed or if the ~/.ssh/identity.pub file is inaccessible (not present), Ssh-copy-id displays the above error message (The-I option takes precedence over what will be ssh-add-l)

What is true in the 3.hadoop configuration file?
Answer: This parameter is not overwritten by the parameters that are loaded later. Variables can also be used in configuration files.

How does the 4.bin file install under Linux?
For:
1) Execute the chmod +x command on the downloaded binary file
chmod +x Jdk-6u21-linux-x64.bin
2) Execute the binary file:
./jdk-6u21-linux-x64.bin)
How does the 5..tar.gz file unzip under Linux?
For:
such as extracting files hadoop-2.2.0.tar.gz:
TAR-ZXVF hadoop-2.2.0.tar.gz-c/cloud/
6. Move the file command?
A: MV Original file (clip) target file (clip)
7. Delete a folder?
Answer: RM-RF file (folder)
8. Do I need to install zookeeper?
The default value of HBASE_MANAGES_ZK in the Conf/hbase-env.sh configuration document is True, which indicates that HBase uses its own zookeeper instance. However, the instance can only serve hbase in standalone or pseudo-distributed mode. When installing full distribution mode, you need to configure your own zookeeper instance. After configuring the Hbase.zookeeper.quorum attribute in the Hbase-siet.xml document, the system will be limited (typos?). Priority? Use the zookeeper list specified by this property. At this point, if the value of the HBASE_MANAGES_ZK variable is true, HBase will run zookeeper as part of itself when starting hbase, and its corresponding process is "hquorumpeer"; if the value of the variable is false, You must first manually run the zookeeper cluster specified by the Hbase.zookeeper.quorum property before starting HBase, and its corresponding process will appear as quorumpeermain. If you run zookeeper as part of HBase, zookeeper will be automatically closed when HBase is closed, or you will need to stop the zookeeper service manually.
This configuration is not installed separately.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

A collection of problems in the construction of Hadoop,hbase cluster environment (i.)

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.