Applying the MapR patches

If you have MapR, you must apply three sets of patches to your Hadoop cluster before installing BDD.

Note: These patches aren't required if you have CDH or HDP.

The patches are required to upgrade the versions of Spark, ZooKeeper, and Hive you have installed. Otherwise, BDD won't be able to work with them.

To apply the patches:

  1. To apply the Spark patches, do the following on each Spark node:
    1. Download the following patches from http://archive.mapr.com/releases/ecosystem-5.x/redhat/:
      • mapr-spark-master-1.6.1.201605311547-1.noarch.rpm
      • mapr-spark-1.6.1.201605311547-1.noarch.rpm
      • mapr-spark-historyserver-1.6.1.201605311547-1.noarch.rpm
    2. Go to the directory you put the patches in and install each by running:
      rmp -ivh <patch>
    If the patches succeeded, your Spark nodes should contain the directory /opt/mapr/spark/spark-1.6.1/.
  2. To apply the ZooKeeper patch, do the following on each ZooKeeper node:
    1. Download the following patch from http://package.mapr.com/patches/releases/v5.1.0/redhat/:
      • mapr-patch-5.1.0.37549.GA-38290.x86_64.rpm
    2. Apply the patch according to the instructions in MapR's Patch Installation Guide.
    3. Restart ZooKeeper by running:
      sudo service mapr-zookeeper restart
    4. Verify that the patch succeeded by running:
      echo status|nc <hostname> 5181|grep "Zookeeper version"
      Where <hostname> is the hostname of the current ZooKeeper node.
      The output should report ZooKeeper's current version as 1604, and not 1503:
      Zookeeper version: 3.4.5-mapr-1604--1, built on 05/18/2016 14:50 GMT
  3. To apply the Hive patches:
    1. Download the following patches from http://archive.mapr.com/releases/ecosystem-5.x/redhat/ and copy them to each Hive node:
      • mapr-hive-1.2.201606020917-1.noarch.rpm
      • mapr-hivemetastore-1.2.201606020917-1.noarch.rpm
      • mapr-hiveserver2-1.2.201606020917-1.noarch.rpm
      • mapr-hivewebhcat-1.2.201606020917-1.noarch.rpm
    2. On each Hive node, go to the directory you put the patches in and install them by running:
      rpm -Uvh <patch>
    3. Go to MCS and restart the HiveServer 2, Hivemeta, and WebHcat services.
  4. Update your MapR cluster's configuration by running the following command:
    /opt/mapr/server/configure.sh -R