com.cloudera.impala.common.ImpalaRuntimeException: UDF::evaluate() ran into a problem.

Cloudera Open Source | Casey Ching | 6 months ago
  1. 0

    The exhaustive code coverage job fails saying {quote} {noformat} com.cloudera.impala.hive.executor.UdfExecutorTest.HiveStringsTest Failing for the past 6 builds (Since Unstable#115 ) Took 41 ms. add description Error Message UDF::evaluate() ran into a problem. Stacktrace com.cloudera.impala.common.ImpalaRuntimeException: UDF::evaluate() ran into a problem. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:394) at com.cloudera.impala.hive.executor.UdfExecutor.evaluateForTesting(UdfExecutor.java:381) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestUdfImpl(UdfExecutorTest.java:218) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestHiveUdf(UdfExecutorTest.java:284) at com.cloudera.impala.hive.executor.UdfExecutorTest.HiveStringsTest(UdfExecutorTest.java:339) Standard Output com.cloudera.impala.common.ImpalaRuntimeException: UDF failed to evaluate at com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:398) at com.cloudera.impala.hive.executor.UdfExecutor.evaluateForTesting(UdfExecutor.java:381) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestUdfImpl(UdfExecutorTest.java:218) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestHiveUdf(UdfExecutorTest.java:284) at com.cloudera.impala.hive.executor.UdfExecutorTest.HiveStringsTest(UdfExecutorTest.java:339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:394) ... 28 more Standard Error com.cloudera.impala.common.ImpalaRuntimeException: UDF failed to evaluate at com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:398) at com.cloudera.impala.hive.executor.UdfExecutor.evaluateForTesting(UdfExecutor.java:381) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestUdfImpl(UdfExecutorTest.java:218) at com.cloudera.impala.hive.executor.UdfExecutorTest.TestHiveUdf(UdfExecutorTest.java:284) at com.cloudera.impala.hive.executor.UdfExecutorTest.HiveStringsTest(UdfExecutorTest.java:339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:394) ... 28 more {noformat} {quote} This has been failing since May 24. I didn't see anything obvious in the commit history around that time.

    Cloudera Open Source | 6 months ago | Casey Ching
    com.cloudera.impala.common.ImpalaRuntimeException: UDF::evaluate() ran into a problem.

    Root Cause Analysis

    1. com.cloudera.impala.common.ImpalaRuntimeException

      UDF::evaluate() ran into a problem.

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    3. com.cloudera.impala
      UdfExecutorTest.HiveStringsTest
      1. com.cloudera.impala.hive.executor.UdfExecutor.evaluate(UdfExecutor.java:394)
      2. com.cloudera.impala.hive.executor.UdfExecutor.evaluateForTesting(UdfExecutor.java:381)
      3. com.cloudera.impala.hive.executor.UdfExecutorTest.TestUdfImpl(UdfExecutorTest.java:218)
      4. com.cloudera.impala.hive.executor.UdfExecutorTest.TestHiveUdf(UdfExecutorTest.java:284)
      5. com.cloudera.impala.hive.executor.UdfExecutorTest.HiveStringsTest(UdfExecutorTest.java:339)
      5 frames