Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4627

Codegen fails for SparkInterpreter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0, 0.11.0
    • None
    • None

    Description

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

       

      
      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) 

      Attachments

        Activity

          People

            zjffdu Jeff Zhang
            zjffdu Jeff Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m