Did you follow the guide in `IDE Setup` -> `IntelliJ` section of http://spark.apache.org/developer-tools.html ?
Bests, Dongjoon. On Wed, Jun 28, 2017 at 5:13 PM, satyajit vegesna < satyajit.apas...@gmail.com> wrote: > Hi All, > > When i try to build source code of apache spark code from > https://github.com/apache/spark.git, i am getting below errors, > > Error:(9, 14) EventBatch is already defined as object EventBatch > public class EventBatch extends org.apache.avro.specific.SpecificRecordBase > implements org.apache.avro.specific.SpecificRecord { > Error:(9, 14) EventBatch is already defined as class EventBatch > public class EventBatch extends org.apache.avro.specific.SpecificRecordBase > implements org.apache.avro.specific.SpecificRecord { > /Users/svegesna/svegesna/dev/scala/spark/external/flume- > sink/target/scala-2.11/src_managed/main/compiled_avro/ > org/apache/spark/streaming/flume/sink/SparkFlumeProtocol.java > Error:(26, 18) SparkFlumeProtocol is already defined as object > SparkFlumeProtocol > public interface SparkFlumeProtocol { > Error:(26, 18) SparkFlumeProtocol is already defined as trait > SparkFlumeProtocol > public interface SparkFlumeProtocol { > /Users/svegesna/svegesna/dev/scala/spark/external/flume- > sink/target/scala-2.11/src_managed/main/compiled_avro/ > org/apache/spark/streaming/flume/sink/SparkSinkEvent.java > Error:(9, 14) SparkSinkEvent is already defined as object SparkSinkEvent > public class SparkSinkEvent extends > org.apache.avro.specific.SpecificRecordBase > implements org.apache.avro.specific.SpecificRecord { > Error:(9, 14) SparkSinkEvent is already defined as class SparkSinkEvent > public class SparkSinkEvent extends > org.apache.avro.specific.SpecificRecordBase > implements org.apache.avro.specific.SpecificRecord { > > Would like to know , if i can successfully build the project, so that i > can test and debug some of spark's functionalities. > > Regards, > Satyajit. >