Skip to content

STORM-3109: Fixed incorrect conversion from relative path to absolute path for STORM_LOCAL_DIR#2720

Merged
asfgit merged 1 commit intoapache:masterfrom
zd-project:STORM-3109
Jun 17, 2018
Merged

STORM-3109: Fixed incorrect conversion from relative path to absolute path for STORM_LOCAL_DIR#2720
asfgit merged 1 commit intoapache:masterfrom
zd-project:STORM-3109

Conversation

@zd-project
Copy link
Contributor

Copy link
Contributor

@Ethanlm Ethanlm left a comment

Choose a reason for hiding this comment

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

+1 good catch

@srdo
Copy link
Contributor

srdo commented Jun 17, 2018

Could you explain a bit more why the conversion to absolute path is a problem? I'm having a hard time understanding why kill_workers would break if the STORM_LOCAL_DIR is given as an absolute path.

@zd-project
Copy link
Contributor Author

It would break if it’s given as a relative path. File.getCanonicalPath converts it to cwd/STORM_LOCAL_DIR

@srdo
Copy link
Contributor

srdo commented Jun 17, 2018

Ah right. Thanks, that makes sense. +1

@asfgit asfgit merged commit b03ee18 into apache:master Jun 17, 2018
@zd-project zd-project deleted the STORM-3109 branch June 18, 2018 14:28
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.

4 participants