Skip to content

Instantly share code, notes, and snippets.

@sardell
Last active February 18, 2019 16:16
Show Gist options
  • Save sardell/2cbc1ec1ff052a0e9d15d693da1cbfd8 to your computer and use it in GitHub Desktop.
Save sardell/2cbc1ec1ff052a0e9d15d693da1cbfd8 to your computer and use it in GitHub Desktop.
Metron quick reset to get middleware and backend updates

WARNING: Doesn’t work for Ambari or Mpack updates

Here are the instructions for "quickly" getting middleware and backend updates without a full-dev rebuild:

  1. Run mvn clean install -Dskip from the root of your local metron project
  2. From metron-deployment/development/centos6, run vagrant scp ../../../metron-interface/metron-rest/target/metron-rest*.jar /tmp
  3. Log into vagrant by navigating into metron-deployment/development/centos6 and running vagrant ssh
  4. While ssh'd inside the vagrant machine, run sudo cp /tmp/metron-rest*.jar /usr/metron/$METRON_VERSION/lib
  5. Open a browser, visit Ambari (http://node1:8080) and reset (or start) METRON REST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment