Skip to content

Conversation

@Renkai
Copy link
Contributor

@Renkai Renkai commented Sep 2, 2015

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.

@HeartSaVioR
Copy link
Contributor

One thing we should keep in mind is, some users are using Storm in Windows environment.
Using absolute path, especially known *nix path to default value will make a problem for those users.

@Renkai
Copy link
Contributor Author

Renkai commented Sep 3, 2015

If make storm.local.dir to a relative path is better,how about make the path relative to where storm is installed rather than where user start the storm processes.

@HeartSaVioR
Copy link
Contributor

Sounds good for me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space between . and For

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants