cascading.operation.OperationException

could not compile script: { return new cascading.tuple.Tuple( new Object[] { ENTITY, 95percentile}); }

Solutions on the web8

  • via Google Groups by Sergey Satunin, 6 months ago
    could not compile script: { return new cascading.tuple.Tuple( new Object[] { ENTITY, 95percentile}); }
  • via Google Groups by Tamás Fülöp, 6 months ago
    could not compile script: { return new cascading.tuple.Tuple( new Object[] { ViewDate, net.hydromatic.optiq.runtime.SqlFunctions.currentTimestamp(root)}); }
  • via Google Groups by santlal gupta, 6 months ago
    could not compile script: { return !cascading.lingual.optiq.Functions.falseIfNull(1 != null && net.hydromatic.optiq.runtime.SqlFunctions.like(1, "a%")); }
  • Stack trace

    • cascading.operation.OperationException: could not compile script: { return new cascading.tuple.Tuple( new Object[] { ENTITY, 95percentile}); } at cascading.operation.expression.ScriptOperation.getEvaluator(ScriptOperation.java:209) at cascading.operation.expression.ScriptOperation.prepare(ScriptOperation.java:276) at cascading.flow.stream.OperatorStage.prepare(OperatorStage.java:284) at cascading.flow.stream.StreamGraph.prepare(StreamGraph.java:167) at cascading.flow.hadoop.FlowMapper.run(FlowMapper.java:110) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:417) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:332) at org.apache.hadoop.mapred.Child$4.run(Child.java:268) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408) at org.apache.hadoop.mapred.Child.main(Child.java:262) Caused by: cascading.thirdparty.org.codehaus.commons.compiler.CompileException: Line 5, Column 12: "," or "}" expected at cascading.thirdparty.org.codehaus.janino.Parser.throwCompileException(Parser.java:2593) at cascading.thirdparty.org.codehaus.janino.Parser.parseArrayInitializer(Parser.java:821) at cascading.thirdparty.org.codehaus.janino.Parser.parsePrimary(Parser.java:2088) at cascading.thirdparty.org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:1886) at cascading.thirdparty.org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:1846) at cascading.thirdparty.org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:1826) at cascading.thirdparty.org.codehaus.janino.Parser.parseShiftExpression(Parser.java:1806) at cascading.thirdparty.org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:1774) at cascading.thirdparty.org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:1751) at cascading.thirdparty.org.codehaus.janino.Parser.parseAndExpression(Parser.java:1730) at cascading.thirdparty.org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:1709) at cascading.thirdparty.org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:1688) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:1667) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:1646) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:1627) at cascading.thirdparty.org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:1607) at cascading.thirdparty.org.codehaus.janino.Parser.parseExpression(Parser.java:1593) at cascading.thirdparty.org.codehaus.janino.Parser.parseArgumentList(Parser.java:2354) at cascading.thirdparty.org.codehaus.janino.Parser.parseArguments(Parser.java:2341) at cascading.thirdparty.org.codehaus.janino.Parser.parsePrimary(Parser.java:2095) at cascading.thirdparty.org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:1886) at cascading.thirdparty.org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:1846) at cascading.thirdparty.org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:1826) at cascading.thirdparty.org.codehaus.janino.Parser.parseShiftExpression(Parser.java:1806) at cascading.thirdparty.org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:1774) at cascading.thirdparty.org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:1751) at cascading.thirdparty.org.codehaus.janino.Parser.parseAndExpression(Parser.java:1730) at cascading.thirdparty.org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:1709) at cascading.thirdparty.org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:1688) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:1667) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:1646) at cascading.thirdparty.org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:1627) at cascading.thirdparty.org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:1607) at cascading.thirdparty.org.codehaus.janino.Parser.parseExpression(Parser.java:1593) at cascading.thirdparty.org.codehaus.janino.Parser.parseReturnStatement(Parser.java:1456) at cascading.thirdparty.org.codehaus.janino.Parser.parseStatement(Parser.java:1108) at cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatement(Parser.java:957) at cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatements(Parser.java:926) at cascading.thirdparty.org.codehaus.janino.Parser.parseBlock(Parser.java:910) at cascading.thirdparty.org.codehaus.janino.Parser.parseStatement(Parser.java:1108) at cascading.thirdparty.org.codehaus.janino.Parser.parseBlockStatement(Parser.java:957) at cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.makeStatements(ScriptEvaluator.java:624) at cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:454) at cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:345) at cascading.thirdparty.org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:194) at cascading.thirdparty.org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80) at cascading.thirdparty.org.codehaus.commons.compiler.Cookable.cook(Cookable.java:72) at cascading.thirdparty.org.codehaus.janino.ScriptEvaluator.<init>(ScriptEvaluator.java:107) at cascading.operation.expression.ScriptOperation.getEvaluator(ScriptOperation.java:205)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.