[
https://issues.apache.org/jira/browse/METRON-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091662#comment-16091662
]
Rob Phipps edited comment on METRON-1045 at 7/19/17 3:01 PM:
-------------------------------------------------------------
-I literally have no idea what has happened, but I left the cluster running
over the weekend and now it appears happy to restart of its own accord without
any nasty database hacks.-
-Never mind-
*closes ticket*
was (Author: rphi):
-I literally have no idea what has happened, but I left the cluster running
over the weekend and now it appears happy to restart of its own accord without
any nasty database hacks.
Never mind-
*closes ticket*
> [Metron enrichment] Cannot restart service - enrichment table already exists
> ----------------------------------------------------------------------------
>
> Key: METRON-1045
> URL: https://issues.apache.org/jira/browse/METRON-1045
> Project: Metron
> Issue Type: Bug
> Affects Versions: 0.4.0
> Environment: CentOS 7
> Metron 0.4.0
> Ambari 2.5.1.10
> Reporter: Rob Phipps
> Labels: ambari, enrichment, hdfs
>
> Hi,
> This is a new install on Ambari, downloaded from the hortonworks repo if I
> remember correctly. Although I have been able to start Metron once, for any
> subsequent launches I get an error complaining the table 'enrichment' already
> exists in the hdfs store. If I delete the table from the command line and try
> again, then the startup process runs properly. Why is this script assuming
> that the database is clean before it starts?
> Although this is potentially unrelated, the Metron REST API module doesn't
> stay running for very long after I start it, which means I am unable to log
> into the management interface.
> Any assistance would be much appreciated.
> {quote}Execution of '/usr/metron/0.4.0/bin/start_enrichment_topology.sh
> -s enrichment
> -z metron:2181,hadoop-slave-1:2181,hadoop-master:2181' returned 1. Running:
> /usr/jdk64/jdk1.8.0_112/bin/java -server -Ddaemon.name= -Dstorm.options=
> -Dstorm.home=/usr/hdp/2.6.1.0-129/storm -Dstorm.log.dir=/var/log/storm
> -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file=
> -cp
> /usr/hdp/2.6.1.0-129/storm/lib/asm-5.0.3.jar:/usr/hdp/2.6.1.0-129/storm/lib/clojure-1.7.0.jar:/usr/hdp/2.6.1.0-129/storm/lib/disruptor-3.3.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/kryo-3.0.3.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-api-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-core-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-over-slf4j-1.6.6.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-slf4j-impl-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/minlog-1.3.0.jar:/usr/hdp/2.6.1.0-129/storm/lib/objenesis-2.1.jar:/usr/hdp/2.6.1.0-129/storm/lib/reflectasm-1.10.1.jar:/usr/hdp/2.6.1.0-129/storm/lib/ring-cors-0.1.5.jar:/usr/hdp/2.6.1.0-129/storm/lib/servlet-api-2.5.jar:/usr/hdp/2.6.1.0-129/storm/lib/slf4j-api-1.7.21.jar:/usr/hdp/2.6.1.0-129/storm/lib/storm-core-1.1.0.2.6.1.0-129.jar:/usr/hdp/2.6.1.0-129/storm/lib/storm-rename-hack-1.1.0.2.6.1.0-129.jar:/usr/hdp/2.6.1.0-129/storm/lib/zookeeper.jar:/usr/hdp/2.6.1.0-129/storm/lib/ambari-metrics-storm-sink.jar
> org.apache.storm.daemon.ClientJarTransformerRunner
> org.apache.storm.hack.StormShadeTransformer
> /usr/metron/0.4.0/lib/metron-enrichment-0.4.0-uber.jar
> /tmp/b70910e6688d11e78398000c2953f5b1.jar
> Running: /usr/jdk64/jdk1.8.0_112/bin/java -Ddaemon.name= -Dstorm.options=
> -Dstorm.home=/usr/hdp/2.6.1.0-129/storm -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/2.6.1.0-129/storm/lib/asm-5.0.3.jar:/usr/hdp/2.6.1.0-129/storm/lib/clojure-1.7.0.jar:/usr/hdp/2.6.1.0-129/storm/lib/disruptor-3.3.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/kryo-3.0.3.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-api-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-core-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-over-slf4j-1.6.6.jar:/usr/hdp/2.6.1.0-129/storm/lib/log4j-slf4j-impl-2.8.2.jar:/usr/hdp/2.6.1.0-129/storm/lib/minlog-1.3.0.jar:/usr/hdp/2.6.1.0-129/storm/lib/objenesis-2.1.jar:/usr/hdp/2.6.1.0-129/storm/lib/reflectasm-1.10.1.jar:/usr/hdp/2.6.1.0-129/storm/lib/ring-cors-0.1.5.jar:/usr/hdp/2.6.1.0-129/storm/lib/servlet-api-2.5.jar:/usr/hdp/2.6.1.0-129/storm/lib/slf4j-api-1.7.21.jar:/usr/hdp/2.6.1.0-129/storm/lib/storm-core-1.1.0.2.6.1.0-129.jar:/usr/hdp/2.6.1.0-129/storm/lib/storm-rename-hack-1.1.0.2.6.1.0-129.jar:/usr/hdp/2.6.1.0-129/storm/lib/zookeeper.jar:/usr/hdp/2.6.1.0-129/storm/lib/ambari-metrics-storm-sink.jar:/tmp/b70910e6688d11e78398000c2953f5b1.jar:/usr/hdp/current/storm-supervisor/conf:/usr/hdp/2.6.1.0-129/storm/bin
> -Dstorm.jar=/tmp/b70910e6688d11e78398000c2953f5b1.jar
> -Dstorm.dependency.jars= -Dstorm.dependency.artifacts={}
> org.apache.storm.flux.Flux --remote
> /usr/metron/0.4.0/flux/enrichment/remote.yaml --filter
> /usr/metron/0.4.0/config/enrichment.properties{quote}
> <FLUX startup stuff>
> {quote}Exception in thread "main" java.lang.RuntimeException: Topology with
> name `enrichment` already exists on cluster
> at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:240)
> at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:390)
> at org.apache.storm.flux.Flux.runCli(Flux.java:171)
> at org.apache.storm.flux.Flux.main(Flux.java:98){quote}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)