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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---