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

Cannot inject a customized JDBC interpreter in ZEPPELIN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • 0.9.0
    • Interpreters
    • 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.

       

      Attachments

        1. zeppelin.png
          730 kB
          zhaoxianwei

        Activity

          People

            Unassigned Unassigned
            zhaoxianwei zhaoxianwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified