Suchit gupta created ZEPPELIN-5189:
--------------------------------------

             Summary: Credentials not getting passed to JDBC Interpreter
                 Key: ZEPPELIN-5189
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5189
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.9.0
            Reporter: Suchit gupta
             Fix For: 0.9.0
         Attachments: image-2021-01-07-11-24-02-117.png, 
image-2021-01-07-11-24-20-298.png

*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.

!image-2021-01-07-11-24-02-117.png!

 

!image-2021-01-07-11-24-20-298.png!

 

*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.}}*

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to