Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
package com.databricks.apps

import com.sun.deploy.config.ConfigFactory

import scala.collection.immutable
import akka.actor._
import akka.cluster.Cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import scala.concurrent.duration._
import akka.actor._
import com.datastax.spark.connector.embedded.Event
import org.joda.time.{DateTime, DateTimeZone}
import scala.collection.JavaConversions._

class WeatherApiQueries(settings: WeatherSettings, actor: ActorSelection)
extends AggregationActor with ActorLogging {
Expand Down Expand Up @@ -78,7 +79,7 @@ class WeatherApiQueries(settings: WeatherSettings, actor: ActorSelection)
log.info("Requesting weather station {}", sample.wsid)
actor ! GetWeatherStation(sample.wsid)

queried += sample
queried = queried + sample
}

def getLines(file: JFile): Stream[String] = {
Expand Down