Home

Upgrading sensors on EMR

This topic explains how to upgrade unravel sensors and unravel_es daemon in EMR nodes.

Case 1: Cluster was brought up via bootstrap.
Case 2: Ansible script was run after the cluster was brought up, no bootstrap action.

Note

EMR bootstrap action does not upgrade sensor on existing nodes, run ansible script once to perform the sensor upgrade.

  1. Follow the steps in Connect the Unravel EC2 Instance to an Existing EMR Cluster to upgrade sensor on all nodes.

  2. Restart hive-server2.

    sudo stop hive-server2
    sudo start hive-server2
Case 3: Using Unravel sensor autoscaling to connect the cluster. (Upgrading from 4.5.2.0.)
  1. Stop unravel_es.

    sudo /etc/init.d/unravel_es stop
  2. Remove unravel_es database.

    sudo rm -rf /usr/local/unravel_es/unravel_h2*
  3. Rerun unravel_emr_bootstrap.py script.

    sudo python unravel_emr_bootstrap.py --unravel-server Unravel Server --sensor-autoscaling