zhaoxianwei created ZEPPELIN-3688: ------------------------------------- Summary: Cannot inject a customized JDBC interpreter in ZEPPELIN Key: ZEPPELIN-3688 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3688 Project: Zeppelin Issue Type: Bug Components: Interpreters Affects Versions: 0.8.0 Reporter: zhaoxianwei Fix For: 0.8.1 Attachments: zeppelin.png
when I try to register a customized JDBC interpreter whose jdbc driver comes from Huawei Data Lake Insight (DLI) service , and add all the connection configurations it needed, it seems that it doesn't work. The connection configurations cannot be passed to the DLI driver. I did it according to the instructions of the official website(http://zeppelin.apache.org/docs/0.7.2/interpreter/jdbc.html),the only difference is that i copied the jdbc jar to the interpreter classpath instead of using a public maven coordinate when did *Dependency Setting* . *The appendix is the specific message of error* *I just compared the error message between DLI driver and postgresql driver, and read the jdbc interpreter source code from zeppelin, it seems that the right process is to load a dbcp pool driver first, and then the dbcp pool driver is delegated to load the real jdbc driver (the postgresql's call stack can explain this), however , when using DLI driver, zeppelin directly loaded the DLI driver instead of loading dbcp pool first resulting in the connection configurations not being passed to the DLI driver.* -- This message was sent by Atlassian JIRA (v7.6.3#76005)