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

Fix retry logic to handle VersionMismatchException by not deleting jars in remote UDFs area

    XMLWordPrintableJSON

Details

    Description

      I tried to register 21 jars simultaneously (property 'udf.retry-attempts' = 30) and not all jars were registered. As I see in output, all function were registered and /staging directory was empty, but not all of jars were moved into /registry directory.

      For example, after simultaneously registration I saw "The following UDFs in jar test-1.1.jar have been registered: [test1(VARCHAR-REQUIRED)" message, but this jar was not in /registry directory. When I tried to run function test1, I got this error: "Error: SYSTEM ERROR: SqlValidatorException: No match found for function signature test1(<CHARACTER>)". And when I tried to reregister this jar, I got "Jar with test-1.1.jar name has been already registered".

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              RomanKulyk Roman Kulyk
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: