[
https://issues.apache.org/jira/browse/STORM-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15381622#comment-15381622
]
Jungtaek Lim commented on STORM-1976:
-------------------------------------
[~sriharsha]
Yes I mean that cleanup-corrupt-topologies! was effectively no-op (so can be
deleted) since leader should have all the topology codes which is actually what
cleanup-corrupt-topologies! is trying to check for cleaning up.
If a nimbus meets the condition for leader, there's always no corrupt
topologies.
cleanup-corrupt-topologies! is executed only when starting up nimbus.
Btw, new code follows the criteria: waiting for replicating via
topology.min.replication.count and topology.max.replication.wait.time.sec.
> Storm Nimbus H/A has issue on cleaning corrupted topologies
> -----------------------------------------------------------
>
> Key: STORM-1976
> URL: https://issues.apache.org/jira/browse/STORM-1976
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 1.0.0, 1.0.1
> Reporter: Raghav Kumar Gautam
> Assignee: Jungtaek Lim
> Priority: Blocker
>
> In the following scenario storm-ha runs into issues:
> 1. Kill a non-leader nimbus
> 2. Submit a topology
> 3. Bring up the non-leader nimbus
> After step-3 expectation is that the non-leader nimbus will download topology
> jar. Instead it cleans up the topology.
> {code}
> 2016-07-12 07:11:09.511 o.a.s.c.zookeeper-state-factory [WARN] Received event
> ::none: with disconnected Reader Zookeeper.
> 2016-07-12 07:11:09.587 o.a.s.zookeeper [INFO] Queued up for leader lock.
> 2016-07-12 07:11:09.608 o.a.s.d.nimbus [INFO] Corrupt topology
> JoinedNonLeaderNimbusTriesToDownloadTopologyCode-2-1468307239 has state on
> zookeeper but doesn't have a local dir on Nimbus. Cleaning up...
> 2016-07-12 07:11:09.932 o.a.h.m.s.s.StormTimelineMetricsReporter [INFO]
> Preparing Storm Metrics Reporter
> 2016-07-12 07:11:09.946 o.a.s.d.m.MetricsUtils [INFO] Using statistics
> reporter
> plugin:org.apache.storm.daemon.metrics.reporters.JmxPreparableReporter
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)