Re: [Spark 2.0] Error during codegen for Java POJO

2016-08-05 Thread Andy Grove
I tracked this down in the end. It turns out the POJO was not actually defined as 'public' for some reason. It seems like this should be detected as an error prior to generating code though? Thanks, Andy. -- Andy Grove Chief Architect www.agildata.com On Fri, Aug 5, 2016 at 8:28 AM, Andy Gro

[Spark 2.0] Error during codegen for Java POJO

2016-08-05 Thread Andy Grove
Hi, I've run into another issue upgrading a Spark example written in Java from Spark 1.6 to 2.0. The code is here: https://github.com/AgilData/apache-spark-examples/blob/spark_2.0/src/main/java/JRankCountiesBySexUsingDataset.java The runtime error is: org.codehaus.commons.compiler.CompileExcept