Jeff Zhang created ZEPPELIN-4627:
------------------------------------

             Summary: Codegen fails for SparkInterpreter
                 Key: ZEPPELIN-4627
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4627
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Jeff Zhang


Run Spark tutorial note, get the following error when running the sql

 
{code:java}

ERROR [2020-02-19 15:10:10,221] 
({FIFOScheduler-interpreter_1811869150-Worker-1} Logging.scala[logError]:91) - 
failed to compile: org.codehaus.commons.compiler.CompileException: File 
'generated.java', Line 165, Column 95: Cannot determine simple type name 
"$line176251030923"
org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 
165, Column 95: Cannot determine simple type name "$line176251030923"
    at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:12124)
    at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6746)
    at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6507)
    at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6520)
    at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6486)
    at org.codehaus.janino.UnitCompiler.access$13800(UnitCompiler.java:215)
    at 
org.codehaus.janino.UnitCompiler$21$1.visitReferenceType(UnitCompiler.java:6394)
    at 
org.codehaus.janino.UnitCompiler$21$1.visitReferenceType(UnitCompiler.java:6389)
    at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3917)
    at org.codehaus.janino.UnitCompiler$21.visitType(UnitCompiler.java:6389)
    at org.codehaus.janino.UnitCompiler$21.visitType(UnitCompiler.java:6382)
    at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3916)
    at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:6382)
    at org.codehaus.janino.UnitCompiler.access$1300(UnitCompiler.java:215)
    at 
org.codehaus.janino.UnitCompiler$35.getParameterTypes2(UnitCompiler.java:10296)
    at org.codehaus.janino.IClass$IInvocable.getParameterTypes(IClass.java:960)
    at org.codehaus.janino.IClass$IMethod.getDescriptor2(IClass.java:1227)
    at org.codehaus.janino.IClass$IInvocable.getDescriptor(IClass.java:983)
    at org.codehaus.janino.IClass.getIMethods(IClass.java:248)
    at org.codehaus.janino.IClass.getIMethods(IClass.java:237)
    at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:492)
    at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:981)
    at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java:215)
    at 
org.codehaus.janino.UnitCompiler$2.visitMemberClassDeclaration(UnitCompiler.java:414)
    at 
org.codehaus.janino.UnitCompiler$2.visitMemberClassDeclaration(UnitCompiler.java:406)
 {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to