Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
0.9.0
-
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]
- Going through
ZEPPELIN-5184, In 0.9.0 you just need to mention the interpreter name and not the group. - Can confirm that for newly create JDBC interpreter just giving the interpreter name in credentials works.
- However just giving the interpreter name in credentials doesn't work for existing JDBC interpreter.