Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7850

Drill class fails reflection resulting in ClassNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.19.0
    • Client - Java
    • None

    Description

      In a recent issue request on JPype it was reported that Apache Drill fails under JPype.   After a bit of tracing it appears that it is not a JPype issue, but something in the Apache Drill jar that is preventing normal Java reflection from operating on the classes in drill.   In order for Python to operate on a class it must first probe the class with getMethods.  In this case an internal class was returned and when probed it is triggering a Java error.   As there isn't much that I can do about internal errors generated by a 3rd party jar, I need to bounce the issue back to the drill developers. 

       

      Replication instructions are on the github issue tracker.

      https://github.com/jpype-project/jpype/issues/913

       

      Current it is still possible to run Apache Drill with Python as the error can be bypassed by loading the jar file twice.  But a recent change to JPype to correct a related issue with unresolved classes will make it a fatal error  in the next version.

      Attachments

        Activity

          People

            volodymyr Vova Vysotskyi
            Thrameos Karl Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: