GitHub user zjffdu opened a pull request:

    ZEPPELIN-1516. NPE LivySparkSQLInterpreter thrown with %livy.sql interpreter

    ### What is this PR for?
    This PR fixed NPE issue in `LivySparkSQLIntepreter`, also it resolves the 
multiple thread issues discussed in #1503
    ### What type of PR is it?
    [Bug Fix]
    ### Todos
    * [ ] - Task
    ### What is the Jira issue?
    ### How should this be tested?
    * Enable shiro
    * Log in 2 users in 2 browsers
    * Start livy sql paragraph at almost the same time
    * 2 livy sessions are created correctly. 
    ### 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 ZEPPELIN-1516

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1514
commit 33d5cc5f890b08224cd993cf5293fe5de43a6a66
Author: Jeff Zhang <>
Date:   2016-10-14T01:27:52Z

    ZEPPELIN-1516. NPE LivySparkSQLInterpreter thrown with %livy.sql interpreter


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 or file a JIRA ticket
with INFRA.

Reply via email to