cloudera manager (CDH) Practice

  cloudera manager simplifies the installation process to configure Hadoop automatically install hadoop related components on the cluster node, create users and manage the various components of the service. This manual free version cloudera manager of the following five machines installed hadoop cluster, for example: 192.168.106.36 192.168.106.37 192.168.106.38 192.168.106.39 192.168.106.40

 1. Installation cloudera manager

  1.1 download Cloudera Manager installer

 

    cloudera manager need only install the main service on the primary node of the cluster, the cluster master node is 192.168.106.36. Usually installed cloudera manager simply download the installation file (Cloudera-manager-installer.bin) from the official website:

wget https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin

  1.2  running Cloudera Manager installer 

  1. change Cloudera Manager, installer.bin Have executable permissions:
    chmod u + x cloudera-manager-installer.bin
  2. Running Cloudera Manager Server Setup:
    sudo ./cloudera-manager-installer.bin

             

 

     ps: download package is large, it can ensure speed, if you are unsure whether you can view the error log (time is very long, uninterrupted night's installation)

tail -f /var/log/cloudera-manager-installer/3.install-cloudera-manager-server.log

cloudera-manager-daemons
x86_64 5.16.2-1.cm5162.p0.7.el6 cloudera-manager 767 M

Transaction Summary
================================================================================
Install 2 Package(s)

Total download size: 767 M
Installed size: 931 M
Downloading Packages:

 

  1.3  Read and accept the license agreement

  1. Read Cloudera Manager README, then press Enter to continue.
  2. Read Cloudera Express license, and then press Enter to continue. Use the arrow keys and press Enter to select is confirmed.
  3. Read the Oracle Binary Code License Agreement, and then press Enter to continue. Use the arrow keys and press  Enter to select is confirmed.
    Setup performs the following tasks:
    1. Install Oracle JDK and Cloudera Manager repository file.
    2. Installation Cloudera Manager Server and embedded PostgreSQL package.
    3. Start Cloudera Manager Server and embedded PostgreSQL database.

  Note: If the installation is interrupted, you may need to run again to clean it. Run the following command on the Cloudera Manager Server host:

  sudo /usr/share/cmf/uninstall-cloudera-manager.sh

 2. Start and log Cloudera Manager Admin Console

   Cloudera Manager Server URL (displayed by the previous step in the installation process, you can record) take the following form:

http://Server host:port

  Wherein the server host is installed Cloudera Manager  host Server's fully qualified domain name (FQDN) or IP address, Port is the port configured for Cloudera Manager Server. The default port number is 7180 .

  1. In the Web browser, enter the Cloudera Manager URL. Cloudera Manager Admin Console login screen will be displayed.

  

 

  1. Login Cloudera Manager Admin Console. The default credentials:
    • Username:  ADMIN

      Cloudera Manager does not support changing managementThe default user name for the account. However, you can add new users, assign administrative rights for the new user, and then delete the default usermanagement account.

    • password: admin

      You will be asked to change this password later in the process.

  2. After logging in, the "  end user license terms and conditions" page. Read the terms and conditions, then select that accept them.

  

 

  1. Click Continue . In the popular Cloudera Manager page displays, you can choose to install version. You can choose Cloudera Manager version to install, you can install the license:
  

  

  Use Cloudera Manager software installation and configuration wizard ( list of functions supported)

  

  Select Cluster Hosts in the Cloudera Manager

  

 

 

  Select the software setup and installation software

 

   

  Select install Oracle Java SE Development Kit (JDK) to allow Cloudera Manager JDK mounted on each cluster host. If you have already installed JDK, do not select this option.

          

  Enabling single-user mode

   

  Specify the cluster host SSH login credentials:

  • Select the root or enter a username without a password has sudo privileges account.

  • Select Authentication Method:

    • If you choose to password authentication, enter and confirm the password.

    • If you choose public key authentication, please provide the required password and key file path.

  • You can specify an alternate SSH port. The default value is 22.
  • You can specify a maximum run of the host installation number. The default value is 10.

  

  Import cdh program package some strange problems when there is always

  

  

  Online many ways to solve this problem, but no solution to my problem that I have only one way to try to change. Of course, all are in the technology selection project operations under the permit, the basic cause of the problem to find a simple change after the formation of an alternative, and this way memory and external memory requirements are very high, small companies need to meet such a large-scale clusters in accordance, as recommended by the easy way to install apache next business needs, but also the financial support of the premise.

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/zhikou/p/11158319.html