-
Notifications
You must be signed in to change notification settings - Fork 4.1k
closes STORM-1545 and STORM-1552 #1123
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
Conversation
| */ | ||
| Path path = Paths.get(logDir, "workers-artifacts", stormId, Integer.toString(port), "events.log"); | ||
| Path path = Paths.get(workersArtifactRoot, "events.log"); | ||
| if (!path.isAbsolute()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ConfigUtils appears to take care of the relative path, so this check could be removed.
|
Can you update the PR title ? Theres a PR #1109 for the same issue but it does not make use of the ConfigUtils since it had to be merged to 1.x as well. Since this PR is a better fix for 2.0, I will close #1109 and raise that against 1.x-branch. +1 to merge against master (not 1.x-branch) once review comment is addressed. |
|
I removed relative path handling and updated the title - hope this is what you meant? |
|
When the unit tests are run it creates log files under /logs. It should ideally be under system tmp directory. Maybe unrelated, but when an example topology is submitted worker crashes with the below error,
|
|
https://issues.apache.org/jira/browse/STORM-1566 is raised for the above issue. |
|
Thanks @mproch Looks good to me (NB) for merge with master. |
|
+1 |
|
@mproch I'd like to also set assignee from JIRA issue to you but I couldn't find your name in Apache JIRA.
Please let me know if you're not interested to do the things. I'll just assign assignee as reporter and resolve issue. |
|
@HeartSaVioR |
Use ConfigUtils.workerArtifactsRoot to determine correct path