zeppelin/python/src
Kwon, Yeong-Eon a4f19148aa Prevent NullPointerException if "gatewayServer" does not exist
### What is this PR for?
Avoiding and preventing undesired NullPointerException during re-loading python interpreter
Since py4j is optional when PythonInterpreter starts, it should be optional too while it close.

### What type of PR is it?
[Improvement]

### What is the Jira issue?
* N/A

### How should this be tested?

Reload PythongInterpreter on Zeppelin web "Interpreter" menu and check the log message if it complains NullPointerException

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Kwon, Yeong-Eon <happylogin@gmail.com>
Author: Y.E. Kwon <OutOfBedlam@users.noreply.github.com>

Closes #1009 from OutOfBedlam/python and squashes the following commits:

5ed2413 [Y.E. Kwon] Fix code style
ccbf7ef [Kwon, Yeong-Eon] Prevent NullPointerException if "gatewayServer" does not exist
2016-06-15 15:56:46 +09:00
..
main Prevent NullPointerException if "gatewayServer" does not exist 2016-06-15 15:56:46 +09:00
test/java/org/apache/zeppelin/python [ZEPPELIN-502] Python interpreter group 2016-05-31 23:34:05 +09:00