GitHub user kenshalo opened a pull request:
https://github.com/apache/zeppelin/pull/1653
Relative path on windows getAbsolutePath() and new URI causes exceptiâ¦
### What is this PR for?
Relative path on windows getAbsolutePath() and new URI causes exception and
most test cases to fail. Switched to create new File() and use f.toURI() so
that test cases pass on windows
### What type of PR is it?
Bug Fix
### Todos
* [ ] - Task
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg.
[ZEPPELIN-533]
### How should this be tested?
Run zengine JUnit test cases in on windows with relative path
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
No
* Is there breaking changes for older versions?
No
* Does this needs documentation?
No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kenshalo/zeppelin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1653.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 #1653
----
commit c3aceb188126ff5322339e73a62b688544fb0cb7
Author: kenshalo <[email protected]>
Date: 2016-11-18T01:01:22Z
Relative path on windows getAbsolutePath() and new URI causes exception and
most test cases to fail. Switched to create new File() and use f.toURI() so
that test cases pass on windows
----
---
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.
---