Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.8.0
-
None
Description
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.8.0/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.