GitHub user pravin-dsilva opened a pull request:
https://github.com/apache/zeppelin/pull/2366
[ZEPPELIN-2471] - NotebookTest fails on travis
### What is this PR for?
The stacktrace for this issue gives the error:
```
06:31:15,263 ERROR org.apache.zeppelin.notebook.repo.VFSNotebookRepo:151 -
Can't read note file:///tmp/ZeppelinLTest_1495261875233/notebook/2BQA35CJZ
com.google.gson.JsonSyntaxException: 2016-03-29T16:21:09-0700
```
This issue is related to notebooks failing to load with date ParseException
and was fixed in ZEPPELIN-1129. However, in ZEPPELIN-2395 the fix for old
format is excluded and hence the issue occurs again. Added the same code to fix
the old date format issue in the fromJSON method of Note.java
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2471
### How should this be tested?
Tests should pass on CI
### 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/pravin-dsilva/zeppelin ZEPPELIN-2471
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2366.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 #2366
----
commit 3a2e7884b0519afe1952b745729d2de20443415a
Author: pravin-dsilva <[email protected]>
Date: 2017-05-25T08:50:41Z
ZEPPELIN-2471 - NotebookTest fails on travis
commit d08320806f4d85ef31f7dc5c7f53210324b1d573
Author: pravin-dsilva <[email protected]>
Date: 2017-05-25T08:56:58Z
Update .travis.yml to include NotebookTest
----
---
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.
---