Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6008

Creating a UDF from a shared library with a .ll extension crashes Impala

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0, Impala 2.9.0, Impala 2.10.0
    • Fix Version/s: Impala 3.0, Impala 2.12.0
    • Component/s: Backend
    • Labels:

      Description

      create function foo (string, string) returns string location '/test-warehouse/thisIsReallyASharedObject.ll' symbol='MyAwesomeUdf';
      

      A create function statement like the one above can crash Impala if the file is actually an ELF shared object.

      I encountered this on a cluster I have access to. I haven't confirmed whether any .so can crash Impala or whether it requires a .so with specific characteristics.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anujphadke Anuj Phadke
                Reporter:
                tarmstrong Tim Armstrong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: