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

Unit Tests for UDFs in Contrib folder failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 1.17.0
    • Fix Version/s: None
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      The unit tests for UDFs in the contrib/ folder seem to be failing.  It would seem that the ClusterFixture doesn't seem to be missing configuration variables.  I've set a series of them and it keeps asking me for more. 

       

      The errors are shown below:

      java.lang.IllegalStateException: Cluster fixture setup failedat org.apache.drill.test.ClusterFixture.<init>(ClusterFixture.java:152)
      {{ at org.apache.drill.test.ClusterFixtureBuilder.build(ClusterFixtureBuilder.java:283)}}
      {{ at org.apache.drill.test.ClusterTest.startCluster(ClusterTest.java:83)}}
      {{ at org.apache.drill.exec.udfs.TestCryptoFunctions.setup(TestCryptoFunctions.java:40)}}
      Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'drill.exec.profiles'
      {{ at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:115)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:138)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:142)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:142)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:150)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:155)}}
      {{ at com.typesafe.config.impl.SimpleConfig.getBoolean(SimpleConfig.java:165)}}
      {{ at org.apache.drill.common.config.NestedConfig.getBoolean(NestedConfig.java:86)}}
      {{ at org.apache.drill.common.config.DrillConfig.getBoolean(DrillConfig.java:44)}}
      {{ at org.apache.drill.common.config.NestedConfig.getBoolean(NestedConfig.java:86)}}
      {{ at org.apache.drill.common.config.DrillConfig.getBoolean(DrillConfig.java:44)}}
      {{ at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:186)}}
      {{ at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:140)}}
      {{ at org.apache.drill.test.ClusterFixture.startDrillbits(ClusterFixture.java:228)}}
      {{ at org.apache.drill.test.ClusterFixture.<init>(ClusterFixture.java:146)}}
      {{ ... 3 more}}

       

      The GIS unit tests fail with the error below:

      com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'drill.exec.options'at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:115)
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:138)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:142)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:142)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:150)}}
      {{ at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:155)}}
      {{ at com.typesafe.config.impl.SimpleConfig.getBoolean(SimpleConfig.java:165)}}
      {{ at org.apache.drill.common.config.NestedConfig.getBoolean(NestedConfig.java:86)}}
      {{ at org.apache.drill.common.config.DrillConfig.getBoolean(DrillConfig.java:44)}}
      {{ at org.apache.drill.exec.server.options.SystemOptionManager.populateDefaultValues(SystemOptionManager.java:475)}}
      {{ at org.apache.drill.exec.server.options.SystemOptionManager.<init>(SystemOptionManager.java:331)}}
      {{ at org.apache.drill.exec.server.options.SystemOptionManager.<init>(SystemOptionManager.java:321)}}
      {{ at org.apache.drill.exec.ExecTest.setupOptionManager(ExecTest.java:76)}}

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cgivre Charles Givre
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: