Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2932

getAuthenticationInfo returns null when running JDBC paragraph via API

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

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

      I got the error:

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

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

      Maybe I miss how to declare user via API?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ebuildy Thomas Decaux

            Dates

              Created:
              Updated:

              Slack

                Issue deployment