I am using Oracle Java 1.7..
On Tue, Apr 5, 2016 at 12:34 PM, Felix Cheung <felixcheun...@hotmail.com> wrote: > Which Java distribution and version you are running with? > > > > > > > On Mon, Apr 4, 2016 at 11:27 PM -0700, "Minudika Malshan" < > minudika...@gmail.com> wrote: > > > > > > Hi all, > > When I try to build the latest pull of zeppelin source, it fails with > following stack trace. > Any comments on it? > It may be caused because of something wrong with my local repo. But I > cannot think of a proper reason for that. > It would be much helpful if you can help me to figure it out. > > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/PySparkInterpreter.java:[487,50] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/PySparkInterpreter.java:[546,31] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java:[236,31] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/DepInterpreter.java:[303,31] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/dep/SparkDependencyContext.java:[159,54] > cannot find symbol > symbol: method getName() > location: variable repo of type org.apache.zeppelin.dep.Repository > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkSqlInterpreter.java:[86,50] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkSqlInterpreter.java:[182,50] > for-each not applicable to expression type > required: array or java.lang.Iterable > found: org.apache.zeppelin.interpreter.InterpreterGroup > [INFO] 7 errors > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Zeppelin ........................................... SUCCESS [ > 14.776 s] > [INFO] Zeppelin: Interpreter .............................. SUCCESS [ > 18.997 s] > [INFO] Zeppelin: Zengine .................................. SUCCESS [ > 8.423 s] > [INFO] Zeppelin: Display system apis ...................... SUCCESS [ > 12.323 s] > [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ > 35.622 s] > [INFO] Zeppelin: Spark .................................... FAILURE [ > 15.063 s] > [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED > [INFO] Zeppelin: Angular interpreter ...................... SKIPPED > [INFO] Zeppelin: Shell interpreter ........................ SKIPPED > [INFO] Zeppelin: Hive interpreter ......................... SKIPPED > [INFO] Zeppelin: HBase interpreter ........................ SKIPPED > [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED > [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED > [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED > [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED > [INFO] Zeppelin File System Interpreters .................. SKIPPED > [INFO] Zeppelin: Flink .................................... SKIPPED > [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED > [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED > [INFO] Zeppelin: Lens interpreter ......................... SKIPPED > [INFO] Zeppelin: Cassandra ................................ SKIPPED > [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED > [INFO] Zeppelin: Alluxio interpreter ...................... SKIPPED > [INFO] Zeppelin: web Application .......................... SKIPPED > [INFO] Zeppelin: Server ................................... SKIPPED > [INFO] Zeppelin: Packaging distribution ................... SKIPPED > [INFO] Zeppelin: WSO2CEP interpreter ...................... SKIPPED > [INFO] wso2nioservice ..................................... SKIPPED > [INFO] wso2servlet ........................................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:45 min > [INFO] Finished at: 2016-04-05T11:45:46+05:30 > [INFO] Final Memory: 81M/432M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project zeppelin-spark: Compilation failure: > Compilation failure: > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/PySparkInterpreter.java:[487,50] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/PySparkInterpreter.java:[546,31] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java:[236,31] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/DepInterpreter.java:[303,31] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/dep/SparkDependencyContext.java:[159,54] > cannot find symbol > [ERROR] symbol: method getName() > [ERROR] location: variable repo of type org.apache.zeppelin.dep.Repository > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkSqlInterpreter.java:[86,50] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] > > /home/minudika/Projects/incubator-zeppelin/spark/src/main/java/org/apache/zeppelin/spark/SparkSqlInterpreter.java:[182,50] > for-each not applicable to expression type > [ERROR] required: array or java.lang.Iterable > [ERROR] found: org.apache.zeppelin.interpreter.InterpreterGroup > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :zeppelin-spark > > Thanks and regards > -- > *Minudika Malshan* > Undergraduate > Department of Computer Science and Engineering > University of Moratuwa > Sri Lanka. > <https://lk.linkedin.com/pub/minudika-malshan/100/656/a80> > -- *Minudika Malshan* Undergraduate Department of Computer Science and Engineering University of Moratuwa Sri Lanka. <https://lk.linkedin.com/pub/minudika-malshan/100/656/a80>