You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Thomas Decaux (JIRA)" <ji...@apache.org> on 2017/09/13 18:49:00 UTC

[jira] [Created] (ZEPPELIN-2932) getAuthenticationInfo returns null when running JDBC paragraph via API

Thomas Decaux created ZEPPELIN-2932:
---------------------------------------

             Summary: getAuthenticationInfo returns null when running JDBC paragraph via API
                 Key: ZEPPELIN-2932
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2932
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.7.2
            Reporter: Thomas Decaux


Using a JDBC paragraph, I want to run it via the API.

I got the error:

{noformat}
java.lang.NullPointerException at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:560)
{noformat}

Look like ``String user = interpreterContext.getAuthenticationInfo().getUser();`` is not found.

Maybe I miss how to declare user via API?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)