There is no error, it just seems like it isn’t receiving data but it was before. Normal behaviour was:
Time: 1312300000
{Tweet here}
{Tweet here}
Time: 1312360000
{Tweet here}
{Tweet here}
But now it goes like this, all time.
Time: 1312300000
Time: 1312360000
This is my build.sbt, where the only changes I did before the no-tweets behaviour where the versions of Spark, from 0.9.0 to 1.5.0 in case it helps:
name := “TwitterPopularTags”
version := “0.1.0”
scalaVersion := “2.10.3”
libraryDependencies ++= Seq(“org.apache.spark” % “spark-core_2.10” % “1.5.0”,“com.github.scala-incubator.io” %% “scala-io-file” % “0.4.2”,“org.apache.spark” % “spark-streaming-twitter_2.10” % “1.5.0”,“org.apache.spark” % “spark-streaming_2.10” % “1.5.0”,“org.twitter4j” % “twitter4j-core” % “3.0.6”,“org.mortbay.jetty” % “servlet-api” % “3.0.20100224”)
libraryDependencies += “org.apache.hadoop” % “hadoop-client” % "2.7.2"excludeAll ExclusionRule(organization = “javax.servlet”)
libraryDependencies += “org.apache.hadoop” % “hadoop-hdfs” % "2.7.2"excludeAll ExclusionRule(organization = “javax.servlet”)
resolvers += “Akka Repository” at “http://repo.akka.io/releases/”
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList(“META-INF”, xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
}