[
https://issues.apache.org/jira/browse/STORM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726788#comment-14726788
]
ASF GitHub Bot commented on STORM-1005:
---------------------------------------
GitHub user Renkai opened a pull request:
https://github.com/apache/storm/pull/713
[STORM-1005]replace default storm.local.dir value to absolute path.
One of my supervisors shutdown by it self after running for a few
weeks.After I restart the supervisor from another directory(actually I
don't remember which directory I started the supervisor at first.Then the
workers running on that machine become wild.They running as usual,but the
supervisor can't detect them,and I can't shutdown them with `storm kill`.When I
submit a new topology,the supervisor will try to start new a worker with the
port running workers already used,it will cause failure.
It's hard form a typical user to know why such exception happens,so I think
it's better to set storm.local.dir as a absolute path.
If `storm.local.dir` can be set to `$STORM_HOME/storm-local`,it may be
best.But it seems yaml file only support constant values.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Renkai/storm storm-1005
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/713.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #713
----
commit cb2f9f54aaec7ff43ee7c96d991b12de4c689168
Author: renkai <[email protected]>
Date: 2015-09-02T05:26:43Z
replace default storm.local.dir value to absolute path.
----
> Supervisor do not get running workers after restart.
> ----------------------------------------------------
>
> Key: STORM-1005
> URL: https://issues.apache.org/jira/browse/STORM-1005
> Project: Apache Storm
> Issue Type: Bug
> Components: Storm-eventhubs
> Affects Versions: 0.9.4
> Reporter: Renkai Ge
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I have 8 supervisors running,2 of them shutdown by themselves.
> After I restart them.One supervisor shows the right number of workers, but
> another shows the worker number is 0 while the workers are still running on
> that host.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)