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

Cannot use credentials with JDBC prefix feature

    XMLWordPrintableJSON

Details

    Description

      It could be that I am missing something, its not clear in the docs, but I want to be able to use the user credentials feature with the JDBC interpreter prefixes.

      As it is working now, if I have an interpreter named jdbc, I can configure credentials for jdbc.jdbc and as long as I delete default.user and default.password it will authenticate successfully. However if inside my jdbc configuration I have multiple prefixes for multiple connections, for example:

      connection1.driver = com.mysql.jdbc.Driver
      connection1.url = ...

      connection2.driver = org.postgresql.Driver
      connection2.url = ...

      I can access these credentials successfully in the notebook using:

      %jdbc(connection1)

      But there does not seems to be a way to use the credentials feature to provide multiple credentials for a single interpreter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sammu sam mussell
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: