Install MapR 4.0.2 (or other version before 4.2)

  1. Change to the root user or use sudo.
  2. Create a text file called maprtech.repo in the /etc/yum.repos.d/ directory with the following content, replacing v4.0.2 with the version of MapR that you want to install:
    [maprtech]
    name=MapR Technologies
    baseurl=http://package.mapr.com/releases/v4.0.2/redhat/
    enabled=1
    gpgcheck=0
    protect=1
    [maprecosystem]
    name=MapR Technologies
    enabled=1
    gpgcheck=0
    protect=1

     

  3. To install the MapR package key, issue the command appropriate for your Linux distribution:

     

  4. To enable the EPEL repository on CentOS or Red Hat 6.x:

    1. Download the EPEL repository:
    2. Install the EPEL repository:
      rpm -Uvh epel-release-6*.rpm

       

  5. Upgrade yum:
    sudo yum upgrade ca-certificates --disablerepo=epel
  6. Setting Up the Installation Machine

    Complete the following steps to set up the installation machine:

    1. Download the mapr-setup file for the MapR version that you plan to install. The following examples use the wget utility to download mapr-setup for MapR version 4.0.2, however you can also download mapr-setup for MapR v4.0.1.
    2. Navigate to the directory where you downloaded mapr-setup, and enable execute permissions with the following command:
      chmod 755 mapr-setup
    3. Run mapr-setup to unpack the installer files to the /opt/mapr-installer directory. The user running mapr-setup must have write access to the /opt and /tmp directories. You can execute mapr-setup with sudo privileges:
      sudo ./mapr-setup

      The system extracts the installer and copies the set up files to /opt/mapr-install.  The system prompts you to run /opt/mapr-installer/bin/install to begin the installation process. Follow the guidelines in the Using the MapR Quick Installer section.

  7. CentOS/RedHat
    /opt/mapr-installer/bin/install new

     

  8. Install MapR Service Packages

    Install services based on your cluster plan and service layout. Depending on your plan, you may have decided to run your cluster in one of the following modes:

    • MapReduce Classic (MapReduce1)
    • YARN (MapReduce2)
    • Mixed-Mode (MapReduce1 and MapReduce2)

    For more information about the various modes, see Planning the ClusterMapReduce Version 1, and YARN.

    List of Packages by Mode

    The following table lists the MapR packages to install on cluster nodes based on the MapReduce mode that you plan to run:

    Installation

    MapReduce Classic

    YARN

    Mixed-Mode

    Packages to install
    on all cluster nodes
    mapr-fileserver mapr-fileserver mapr-fileserver
    Packages to install on
    designated cluster nodes
    mapr-cldb

    mapr-zookeeper

    mapr-nfs

    mapr-webserver

    mapr-metrics

    mapr-gateway

    mapr-jobtracker

    mapr-tasktracker

    mapr-cldb

    mapr-zookeeper

    mapr-nfs

    mapr-webserver

    mapr-gateway

    mapr-resourcemanager

    mapr-nodemanager

    mapr-historyserver

    mapr-cldb

    mapr-zookeeper

    mapr-nfs

    mapr-webserver

    mapr-metrics

    mapr-gateway

    mapr-jobtracker

    mapr-tasktracker

    mapr-resourcemanager

    mapr-nodemanager

    mapr-historyserver

    Package to install
    on client machines that
    run hadoop commands
    mapr-client mapr-client mapr-client

    Icon

    This table is a rough guide and does not include the additional packages required for internal dependencies or Hadoop ecosystemcomponents. Install the packages based on a thorough plan. As a best practice, do not install mapr-tasktracker or mapr-nodemanager on nodes with CLDB and/or ZooKeeper installed.

    To install MapR, select one of the following installation methods:

     Installing from a Repository
     Installing from a repository on RedHat or CentOS

    Change to the root user or use sudo, and issue the yum command to install the services that you want to run on the node.

    Syntax
    yum install <package_name> <package_name> <package_name>
    Example
    yum install mapr-fileserver mapr-tasktracker

REF:

http://doc.mapr.com/display/MapR40x/Quick+Installation+Guide

http://doc.mapr.com/display/MapR40x/Quick+Installation+Guide#QuickInstallationGuide-prepare

http://doc.mapr.com/display/MapR/Installing+MapR+Software#InstallingMapRSoftware-UsingMapR%27sInternetrepository

http://serverfault.com/questions/637549/epel-repo-for-centos-6-causing-error

3 thoughts on “Install MapR 4.0.2 (or other version before 4.2)

    1. Verkligen fint.Spara det.Det verkar bli lite mer liv i ditt hem med det.Du har ett fint hem men lite stelt i min smak så detta ser ut att bli en riktig mytafksor.Kram

  1. Cartuchos de tintas compatibles al mejor proi8e&#c230;I simply had to thank you so much once again. I’m not certain the things I would’ve worked on without these thoughts shared by you over this situation. It has been an absolute difficult scenario in my opinion, however , coming across the skilled way …

Leave a Reply

Your email address will not be published. Required fields are marked *