Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1596

TestPythonFunctions occasionally fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Function/UDF
    • Labels:
      None

      Description

      Here is failure test.
      https://travis-ci.org/apache/tajo/builds/61730967

      stacktrace:

      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.209 sec <<< FAILURE! - in org.apache.tajo.engine.function.TestPythonFunctions
      testNestedFunctions(org.apache.tajo.engine.function.TestPythonFunctions)  Time elapsed: 0.151 sec  <<< ERROR!
      java.lang.RuntimeException: Problem getting output
      	at org.apache.tajo.plan.function.python.PythonScriptEngine.callScalarFunc(PythonScriptEngine.java:479)
      	at org.apache.tajo.plan.function.PythonFunctionInvoke.eval(PythonFunctionInvoke.java:50)
      	at org.apache.tajo.plan.expr.GeneralFunctionEval.eval(GeneralFunctionEval.java:61)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:101)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:32)
      	at org.apache.tajo.plan.expr.SimpleEvalNodeVisitor.visit(SimpleEvalNodeVisitor.java:69)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitUnaryEval(ConstantFolding.java:68)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitUnaryEval(ConstantFolding.java:32)
      	at org.apache.tajo.plan.expr.SimpleEvalNodeVisitor.visit(SimpleEvalNodeVisitor.java:38)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:88)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:32)
      	at org.apache.tajo.plan.expr.SimpleEvalNodeVisitor.visit(SimpleEvalNodeVisitor.java:69)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.optimize(ConstantFolding.java:40)
      	at org.apache.tajo.plan.exprrewrite.EvalTreeOptimizer.optimize(EvalTreeOptimizer.java:75)
      	at org.apache.tajo.plan.ExprAnnotator.createEvalNode(ExprAnnotator.java:91)
      	at org.apache.tajo.plan.LogicalPlanner.buildPlanForNoneFromStatement(LogicalPlanner.java:433)
      	at org.apache.tajo.plan.LogicalPlanner.visitProjection(LogicalPlanner.java:230)
      	at org.apache.tajo.plan.LogicalPlanner.visitProjection(LogicalPlanner.java:66)
      	at org.apache.tajo.plan.algebra.BaseAlgebraVisitor.visit(BaseAlgebraVisitor.java:59)
      	at org.apache.tajo.plan.LogicalPlanner.createPlan(LogicalPlanner.java:148)
      	at org.apache.tajo.engine.eval.ExprTestBase.getRawTargets(ExprTestBase.java:151)
      	at org.apache.tajo.engine.eval.ExprTestBase.testEval(ExprTestBase.java:277)
      	at org.apache.tajo.engine.eval.ExprTestBase.testEval(ExprTestBase.java:202)
      	at org.apache.tajo.engine.eval.ExprTestBase.testSimpleEval(ExprTestBase.java:182)
      	at org.apache.tajo.engine.function.TestPythonFunctions.testNestedFunctions(TestPythonFunctions.java:41)
      testFunctions(org.apache.tajo.engine.function.TestPythonFunctions)  Time elapsed: 0.063 sec  <<< ERROR!
      java.lang.RuntimeException: Problem getting output
      	at org.apache.tajo.plan.function.python.PythonScriptEngine.callScalarFunc(PythonScriptEngine.java:479)
      	at org.apache.tajo.plan.function.PythonFunctionInvoke.eval(PythonFunctionInvoke.java:50)
      	at org.apache.tajo.plan.expr.GeneralFunctionEval.eval(GeneralFunctionEval.java:61)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:101)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.visitFuncCall(ConstantFolding.java:32)
      	at org.apache.tajo.plan.expr.SimpleEvalNodeVisitor.visit(SimpleEvalNodeVisitor.java:69)
      	at org.apache.tajo.plan.exprrewrite.rules.ConstantFolding.optimize(ConstantFolding.java:40)
      	at org.apache.tajo.plan.exprrewrite.EvalTreeOptimizer.optimize(EvalTreeOptimizer.java:75)
      	at org.apache.tajo.plan.ExprAnnotator.createEvalNode(ExprAnnotator.java:91)
      	at org.apache.tajo.plan.LogicalPlanner.buildPlanForNoneFromStatement(LogicalPlanner.java:433)
      	at org.apache.tajo.plan.LogicalPlanner.visitProjection(LogicalPlanner.java:230)
      	at org.apache.tajo.plan.LogicalPlanner.visitProjection(LogicalPlanner.java:66)
      	at org.apache.tajo.plan.algebra.BaseAlgebraVisitor.visit(BaseAlgebraVisitor.java:59)
      	at org.apache.tajo.plan.LogicalPlanner.createPlan(LogicalPlanner.java:148)
      	at org.apache.tajo.engine.eval.ExprTestBase.getRawTargets(ExprTestBase.java:151)
      	at org.apache.tajo.engine.eval.ExprTestBase.testEval(ExprTestBase.java:277)
      	at org.apache.tajo.engine.eval.ExprTestBase.testEval(ExprTestBase.java:202)
      	at org.apache.tajo.engine.eval.ExprTestBase.testSimpleEval(ExprTestBase.java:182)
      	at org.apache.tajo.engine.function.TestPythonFunctions.testFunctions(TestPythonFunctions.java:30)
      Running org.apache.tajo.engine.function.TestBuiltinFunctions
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: