This sounds like a classpath issue in IntelliJ, so I'd also try refreshing the SBT project in IntelliJ, or re-importing it.
On Thu, Feb 6, 2014 at 11:02 AM, Tathagata Das <tathagata.das1...@gmail.com>wrote: > Does a "sbt/sbt clean" help? If it doesnt and the problem occurs > repeatedely, can you tell us what is the sequence of commands you are using > (from a clean github clone) so that we can reproduce the problem? > TD > > > On Thu, Feb 6, 2014 at 6:04 AM, zgalic <zdravko.ga...@fer.hr> wrote: > >> Hi Spark users, >> >> Trying to run any of examples failed due to JavaZeroMQStreamSuite.java >> compilation errors: >> >> >> Information:Using javac 1.7.0_21 to compile java sources >> Information:java: Errors occurred while compiling module >> 'spark-streaming-zeromq' >> Information:Compilation completed with 7 errors and 12 warnings in 13 min >> 8 >> sec >> Information:7 errors >> Information:12 warnings >> Warning:scalac: there were 56 feature warning(s); re-run with -feature for >> details >> Warning:scalac: there were 35 feature warning(s); re-run with -feature for >> details >> Warning:scalac: there were 6 feature warning(s); re-run with -feature for >> details >> Warning:scalac: there were 4 feature warning(s); re-run with -feature for >> details >> >> /home/zgalic/spark-0.9.0-incubating/core/src/main/scala/org/apache/spark/api/java/function/PairFlatMapFunction.java >> Warning:Warning:java: Some input files use unchecked or unsafe >> operations. >> Warning:Warning:java: Recompile with -Xlint:unchecked for details. >> >> /home/zgalic/spark-0.9.0-incubating/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala >> Warning:Warning:line (51)method mapPartitionsWithSplit in class RDD is >> deprecated: use mapPartitionsWithIndex >> val partitionSumsWithSplit = nums.mapPartitionsWithSplit { >> ^ >> >> /home/zgalic/spark-0.9.0-incubating/core/src/test/scala/org/apache/spark/JavaAPISuite.java >> Warning:Warning:java: >> >> /home/zgalic/spark-0.9.0-incubating/core/src/test/scala/org/apache/spark/JavaAPISuite.java >> uses unchecked or unsafe operations. >> Warning:Warning:java: Recompile with -Xlint:unchecked for details. >> >> /home/zgalic/spark-0.9.0-incubating/streaming/src/test/scala/org/apache/spark/streaming/InputStreamsSuite.scala >> Warning:Warning:line (305)method connect in class IOManager is >> deprecated: use the new implementation in package akka.io instead >> override def preStart = IOManager(context.system).connect(new >> InetSocketAddress(port)) >> ^ >> >> /home/zgalic/spark-0.9.0-incubating/streaming/src/test/java/org/apache/spark/streaming/JavaAPISuite.java >> Warning:Warning:java: >> >> /home/zgalic/spark-0.9.0-incubating/streaming/src/test/java/org/apache/spark/streaming/JavaAPISuite.java >> uses unchecked or unsafe operations. >> Warning:Warning:java: Recompile with -Xlint:unchecked for details. >> >> /home/zgalic/spark-0.9.0-incubating/external/zeromq/src/test/java/org/apache/spark/streaming/zeromq/JavaZeroMQStreamSuite.java >> Error:Error:line (24)java: package org.apache.spark.api.java.function >> does not exist >> Error:Error:line (25)java: package org.apache.spark.storage does not >> exist >> Error:Error:line (35)java: cannot find symbol >> symbol: class Function >> location: class org.apache.spark.streaming.zeromq.JavaZeroMQStreamSuite >> Error:Error:line (35)java: cannot find symbol >> symbol: class Function >> location: class org.apache.spark.streaming.zeromq.JavaZeroMQStreamSuite >> Error:Error:line (42)java: cannot access >> org.apache.spark.api.java.function.Function >> class file for org.apache.spark.api.java.function.Function not found >> Error:Error:line (45)java: cannot find symbol >> symbol: variable StorageLevel >> location: class org.apache.spark.streaming.zeromq.JavaZeroMQStreamSuite >> Error:Error:line (47)java: cannot find symbol >> symbol: variable StorageLevel >> location: class org.apache.spark.streaming.zeromq.JavaZeroMQStreamSuite >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/Errors-occurred-while-compiling-module-spark-streaming-zeromq-IntelliJ-IDEA-13-0-2-tp1282.html >> Sent from the Apache Spark User List mailing list archive at Nabble.com. >> > >