Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

metron enrichment not starting

metron enrichment not starting

the metron enrichment will not start and gives the following error:

stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/METRON/", line 117, in <module> Enrichment().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/", line 375, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/METRON/", line 78, in start commands.start_enrichment_topology(env) File "/var/lib/ambari-agent/cache/common-services/METRON/", line 138, in start_enrichment_topology Execute(start_cmd, user=self.__params.metron_user, tries=3, try_sleep=5, logoutput=True) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 166, in __init__ File "/usr/lib/ambari-agent/lib/resource_management/core/", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/", line 262, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/", line 303, in _call raise ExecutionFailed(err_msg, code, out, err)

resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/hcp/ -s enrichment -z hdp01-ib.hpc.lan:2181,edge01-ib.hpc.lan:2181,hdp02-ib.hpc.lan:2181' returned 1. Running: /usr/lib/jvm/java-1.8.0-openjdk- -server -Dstorm.options= -Dstorm.home=/usr/hdp/ -Dstorm.log.dir=/var/log/storm -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /usr/hdp/ org.apache.storm.daemon.ClientJarTransformerRunner org.apache.storm.hack.StormShadeTransformer /usr/hcp/ /tmp/c9891dd8ab8f11e8bb2100215e5dc6c6.jar Running: /usr/lib/jvm/java-1.8.0-openjdk- -Dstorm.options= -Dstorm.home=/usr/hdp/ -Dstorm.log.dir=/var/log/storm -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/hdp/current/storm-client/lib -Dstorm.conf.file= -cp /usr/hdp/ -Dstorm.jar=/tmp/c9891dd8ab8f11e8bb2100215e5dc6c6.jar -Dstorm.dependency.jars= -Dstorm.dependency.artifacts={} org.apache.storm.flux.Flux -s enrichment -z hdp01-ib.hpc.lan:2181,edge01-ib.hpc.lan:2181,hdp02-ib.hpc.lan:2181

usage: storm jar <my_topology_uber_jar.jar> org.apache.storm.flux.Flux [options] <topology-config.yaml> -d,--dry-run Do not run or deploy the topology. Just build, validate, and print information about the topology. -e,--env-filter Perform environment variable substitution. Replace keysidentified with `${ENV-[NAME]}` will be replaced with the corresponding `NAME` environment value -f,--filter <file> Perform property substitution. Use the specified file as a source of properties, and replace keys identified with {$[property name]} with the value defined in the properties file. -i,--inactive Deploy the topology, but do not activate it. -l,--local Run the topology in local mode. -n,--no-splash Suppress the printing of the splash screen. -q,--no-detail Suppress the printing of topology details. -r,--remote Deploy the topology to a remote cluster. -R,--resource Treat the supplied path as a classpath resource instead of a file. -s,--sleep <ms> When running locally, the amount of time to sleep (in ms.) before killing the topology and shutting down the local cluster. -z,--zookeeper <host:port> When running in local mode, use the ZooKeeper at the specified <host>:<port> instead of the in-process ZooKeeper. (requires Storm 0.9.3 or later)

It kind of looks like where -s enrichment is at in the command should be -s for sleep.



Re: metron enrichment not starting

I got metron enrichment to start by modifying the startup script.

Don't have an account?
Coming from Hortonworks? Activate your account here