I'm trying to build Spark using Intellij on Windows. But I'm repeatedly
getting this error
spark-master\external\flume-sink\src\main\scala\org\apache\spark\streaming\flume\sink\SparkAvroCallbackHandler.scala
Error:(46, 66) not found: type SparkFlumeProtocol
val transactionTimeout: Int, val backOffInterval: Int) extends
SparkFlumeProtocol with Logging {
^
Error:(72, 39) not found: type EventBatch
override def getEventBatch(n: Int): EventBatch = {
^
Error:(87, 13) not found: type EventBatch
new EventBatch("Spark sink has been stopped!", "",
java.util.Collections.emptyList())
^
I had the same error when using Linux, bit there I solved it by right
clicking on the flume-sink -> maven -> generate sources and update folders.
But on Windows, it doesn't seem to work. Any ideas?
Thanks,