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

cached UDF libraries should be refreshed when a new function is created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.3
    • Impala 1.3.1
    • None
    • None

    Description

      Consider the following workflow:

      1. Upload my_functions.so to HDFS
      2. Create some UDFs using my_functions.so in Impala
      3. Upload a new version of my_functions.so containing a new function to HDFS
      4. Attempt to create the new UDF in Impala

      Impala will throw a "Could not find function" AnalysisException because the impalad will not refresh the local cached copy of my_functions.so. Impala should always reload the library when a new function is created.

      As a workaround, dropping one of the original functions will cause the cached copy to be dropped, and the new version be loaded when a function is created or one of the remaining functions is called.

      Attachments

        Activity

          People

            skye Skye Wanderman-Milne
            skye Skye Wanderman-Milne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: