Creating Profiles
Also available as:

Run the Batch Profiler

HCP provides a script called to simplify running the batch profiler.

The script assumes the following:
  • The script builds the profiles defined in $METRON_HOME/config/zookeeper/profiler.json.
  • The properties defined in $METRON_HOME/config/ are passed to both the profiler and Spark. You can define both Spark and profiler properties in this same file.
  • Spark is installed at /usr/hdp/current/spark-client. This can be overridden if you define an environment variable called SPARK_HOME prior to executing the script.
Start the batch profile by entering the following:
source /etc/default/metron