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

Credentials not getting passed to JDBC Interpreter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 0.9.0
    • 0.9.0
    • Interpreters
    • None

    Description

      Deployment:

      I have deployed Zeppelin in K8 following https://zeppelin.apache.org/docs/0.9.0/quickstart/kubernetes.html

      Dockerfile:

      ```

      ARG ZEPPELIN_IMAGE=apache/zeppelin:0.9.0
      FROM ${ZEPPELIN_IMAGE}

      WORKDIR ${Z_HOME}

      USER root
      ADD /zeppelin/shiro.ini ${Z_HOME}/conf/

      ADD https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4-1201-jdbc41/postgresql-9.4-1201-jdbc41.jar ${Z_HOME}/

      ENV CLASSPATH=${Z_HOME}/postgresql-9.4-1201-jdbc41.jar:${CLASSPATH}

      RUN chmod 777 ${Z_HOME}/postgresql-9.4-1201-jdbc41.jar

      USER 1000

      ENTRYPOINT [ "/usr/bin/tini", "--" ]
      WORKDIR ${Z_HOME}
      CMD ["bin/zeppelin.sh"]

      ```

      Issue:

      Credentials are not getting passed to JDBC interpreter.

       

       

      Error:

      Exception: org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.

      {{}}

      The same code works with docker image 0.8.2.

      Update[01/08]

      1. Going through ZEPPELIN-5184, In 0.9.0 you just need to mention the interpreter name and not the group.
      2. Can confirm that for newly create JDBC interpreter just giving the interpreter name in credentials works.
      3. However just giving the interpreter name in credentials doesn't work for existing JDBC interpreter.

       

       P.S https://stackoverflow.com/questions/65589386/apache-zeppelin-how-to-have-interpreter-configuration-saved-per-user

      Attachments

        1. image-2021-01-07-11-24-20-298.png
          422 kB
          Suchit gupta
        2. image-2021-01-07-11-24-02-117.png
          35 kB
          Suchit gupta

        Activity

          People

            Unassigned Unassigned
            suchitgupta Suchit gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: