INFO ApplicationMaster: Unregistering ApplicationMaster with FAILED (diag message: User class threw exception: org.apache.spark.SparkException: Job aborted.
Caused by: java.lang.StackOverflowError at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:438) at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:600) at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:600) at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:600) at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:600) at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:600) at org.codehaus.jan