Troubleshooting Channel in PARTIAL state¶
Why do that¶
The PunchPlatform command punchplatform-channel --start
may report a PARTIAL
state. This state indicates that one of the command (stop
, start
or reload
) was interrupted, resulting in a channel being partially
running. A typical example is to have one out of several topologies
belonging to your channel not running.
This is of course serious, as your data will not be processed end to end. A user action is necessary to check and rectify the situation.
What to do¶
Use the 'force' option of the PunchPlatform with the command :
1 | punchplatform-channel.sh -f --stop mytenant |
It will stopped all the topologies already started and saved a
STOPPED
state in Zookeeper for the channel.
It highly recommends to check that the topologies are effectively stopped in the storm UI.
The user can check also the Zookeeper status with the command :
1 | punchplatform-channel.sh -v --status mytenant |
The -v
argument will show the JSON status of the channel saved in
Zookeeper.