You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Bob Tiernay (JIRA)" <ji...@apache.org> on 2017/02/17 12:37:41 UTC
[jira] [Created] (STORM-2366) SpoutTracker does not delegate to all
methods
Bob Tiernay created STORM-2366:
----------------------------------
Summary: SpoutTracker does not delegate to all methods
Key: STORM-2366
URL: https://issues.apache.org/jira/browse/STORM-2366
Project: Apache Storm
Issue Type: Bug
Components: storm-core
Affects Versions: 0.9.5, 1.x
Reporter: Bob Tiernay
h2. Problem
{{SpoutTracker}} does not implement and delegate to the following methods:
- {{activate}}
- {{deactivate}}
- {{getComponentConfiguration}}
h2. Effect
This causes problems for spouts that require initialization in or to be operational.
h2. Solution
The recommended fix is adding the following:
{code}
@Override
public void activate() {
_delegate.activate();
}
@Override
public void deactivate() {
_delegate.deactivate();
}
@Override
public Map<String, Object> getComponentConfiguration() {
return _delegate.getComponentConfiguration();
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)