Home

Upgrading EMR and Unravel Sensors

1 - Upgrade Unravel Server
  1. Download the latest Unravel RPM.

  2. Upgrade the RPM.

    sudo rpm -Uvh unravel-*.rpm
  3. Run fix up script after installation.

     /usr/local/unravel/install_bin/await_fixups.sh
  4. Start unravel daemons

     /etc/init.d/unravel_all.sh start
2 - 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