Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use storm.local.dir for generated-conf path. #71

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

brndnmtthws
Copy link
Member

to address #70.

@brndnmtthws brndnmtthws force-pushed the prefix-generated-conf-dir branch 3 times, most recently from b12560a to 64cc591 Compare November 30, 2015 20:56
Optional.fromNullable((String) conf.get(Config.STORM_LOCAL_DIR)).or("./"),
"generated-conf");
if (!_generatedConfPath.toFile().exists() && !_generatedConfPath.toFile().mkdirs()) {
throw new RuntimeException("Couldn't create generated-conf dir");
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice, you fixed that greate typo ;)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe add in the path that couldn't be created to the exception? _generatedConfPath

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for always being so quick!

@erikdw
Copy link
Collaborator

erikdw commented Nov 30, 2015

@brndnmtthws : looks good, I think this is an improvement, but perhaps we should wait for @salimane to test it to ensure it actually fixes his issue in #70.

@salimane
Copy link
Contributor

salimane commented Dec 1, 2015

@brndnmtthws @erikdw everything looks good, tested it and it works 👍
Thanks

@erikdw
Copy link
Collaborator

erikdw commented Dec 1, 2015

thanks @brndnmtthws & @salimane ! 🚢 🇮🇹 !

brndnmtthws added a commit that referenced this pull request Dec 1, 2015
Use `storm.local.dir` for generated-conf path.
@brndnmtthws brndnmtthws merged commit a0ff1be into master Dec 1, 2015
@brndnmtthws brndnmtthws deleted the prefix-generated-conf-dir branch December 1, 2015 21:22
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.

None yet

3 participants