GitHub user cloverhearts reopened a pull request: https://github.com/apache/zeppelin/pull/976
ZEPPLIN-976 ] HotFix - zeppelin server does not restart when incorrect credentials data. ### What is this PR zeppelin server does not restart when incorrect credentials data. reproduce. 1. Click to zeppelin home for web ui. 2. Click to zeppelin Credentials. 3. 'Entity' information without writing, username and password only written to storage. 4. Click to zeppelin home for web ui. 5. Click to zeppelin Credentials. and zeppelin restart. ##### but, Zeppelin does not work. It creates the wrong json file. 'conf / credentials.json' according to the null. ### What type of PR is it? Hot Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-976 ### How should this be tested? 1. Click to zeppelin home for web ui. 2. Click to zeppelin Credentials. 3. 'Entity' information without writing, username and password only written to storage. 4. Click to zeppelin home for web ui. 5. Click to zeppelin Credentials. and zeppelin restart. zeppelin does work! ### Reproduced Screenshots  ### 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/cloverhearts/zeppelin hotfix/CredentialsJsonBug Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/976.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 #976 ---- commit 1e5cd727c499ea1b700c1d9df81dd7aa69fa4fc9 Author: CloverHearts <cloverhearts...@gmail.com> Date: 2016-06-08T09:12:39Z Credentials Json serialize backend bug. commit 4b9aba3455a5f441b17c41d6335a0222c1fb59a6 Author: CloverHearts <cloverhearts...@gmail.com> Date: 2016-06-08T11:20:36Z changed status code for CredentialsRestapi commit e9a1e93289ec8802ec4fa1e96afb16e986d07629 Author: CloverHearts <cloverhearts...@gmail.com> Date: 2016-06-14T05:08:47Z Merge branch 'master' into hotfix/CredentialsJsonBug commit 5079495feb1a3786127e9f1c484aabcfc3476817 Author: CloverHearts <cloverhearts...@gmail.com> Date: 2016-06-14T05:50:30Z add test code for credentials backends about invalid request. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---