diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/scala/spark/examples/BroadcastTest.scala (renamed from examples/src/main/scala/BroadcastTest.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/CpuHog.scala (renamed from examples/src/main/scala/CpuHog.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/HdfsTest.scala (renamed from examples/src/main/scala/HdfsTest.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/LocalALS.scala (renamed from examples/src/main/scala/LocalALS.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/LocalFileLR.scala (renamed from examples/src/main/scala/LocalFileLR.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/LocalLR.scala (renamed from examples/src/main/scala/LocalLR.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/LocalPi.scala (renamed from examples/src/main/scala/LocalPi.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/SleepJob.scala (renamed from examples/src/main/scala/SleepJob.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkALS.scala (renamed from examples/src/main/scala/SparkALS.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkHdfsLR.scala (renamed from examples/src/main/scala/SparkHdfsLR.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkLR.scala (renamed from examples/src/main/scala/SparkLR.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkPi.scala (renamed from examples/src/main/scala/SparkPi.scala) | 2 | ||||
-rw-r--r-- | examples/src/main/scala/spark/examples/Vector.scala (renamed from examples/src/main/scala/Vector.scala) | 2 |
13 files changed, 26 insertions, 0 deletions
diff --git a/examples/src/main/scala/BroadcastTest.scala b/examples/src/main/scala/spark/examples/BroadcastTest.scala index 40c2be8f6d..2506de5ae5 100644 --- a/examples/src/main/scala/BroadcastTest.scala +++ b/examples/src/main/scala/spark/examples/BroadcastTest.scala @@ -1,3 +1,5 @@ +package spark.examples + import spark.SparkContext object BroadcastTest { diff --git a/examples/src/main/scala/CpuHog.scala b/examples/src/main/scala/spark/examples/CpuHog.scala index f37c6f7824..94b3709850 100644 --- a/examples/src/main/scala/CpuHog.scala +++ b/examples/src/main/scala/spark/examples/CpuHog.scala @@ -1,3 +1,5 @@ +package spark.examples + import spark._ object CpuHog { diff --git a/examples/src/main/scala/HdfsTest.scala b/examples/src/main/scala/spark/examples/HdfsTest.scala index e678154aab..072b4ce417 100644 --- a/examples/src/main/scala/HdfsTest.scala +++ b/examples/src/main/scala/spark/examples/HdfsTest.scala @@ -1,3 +1,5 @@ +package spark.examples + import spark._ object HdfsTest { diff --git a/examples/src/main/scala/LocalALS.scala b/examples/src/main/scala/spark/examples/LocalALS.scala index a976a5e1c5..10360dab3d 100644 --- a/examples/src/main/scala/LocalALS.scala +++ b/examples/src/main/scala/spark/examples/LocalALS.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.util.Random import scala.math.sqrt import cern.jet.math._ diff --git a/examples/src/main/scala/LocalFileLR.scala b/examples/src/main/scala/spark/examples/LocalFileLR.scala index 3d3bb60677..cc14aa7090 100644 --- a/examples/src/main/scala/LocalFileLR.scala +++ b/examples/src/main/scala/spark/examples/LocalFileLR.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.util.Random import Vector._ diff --git a/examples/src/main/scala/LocalLR.scala b/examples/src/main/scala/spark/examples/LocalLR.scala index 175907e551..3fd3f88fa8 100644 --- a/examples/src/main/scala/LocalLR.scala +++ b/examples/src/main/scala/spark/examples/LocalLR.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.util.Random import Vector._ diff --git a/examples/src/main/scala/LocalPi.scala b/examples/src/main/scala/spark/examples/LocalPi.scala index c61b3e53d4..9457472f2d 100644 --- a/examples/src/main/scala/LocalPi.scala +++ b/examples/src/main/scala/spark/examples/LocalPi.scala @@ -1,3 +1,5 @@ +package spark.examples + import scala.math.random import spark._ import SparkContext._ diff --git a/examples/src/main/scala/SleepJob.scala b/examples/src/main/scala/spark/examples/SleepJob.scala index a5e0ea0dc2..02673a5f88 100644 --- a/examples/src/main/scala/SleepJob.scala +++ b/examples/src/main/scala/spark/examples/SleepJob.scala @@ -1,3 +1,5 @@ +package spark.examples + import spark._ object SleepJob { diff --git a/examples/src/main/scala/SparkALS.scala b/examples/src/main/scala/spark/examples/SparkALS.scala index 6fae3c0940..08e0420371 100644 --- a/examples/src/main/scala/SparkALS.scala +++ b/examples/src/main/scala/spark/examples/SparkALS.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.io.Serializable import java.util.Random import scala.math.sqrt diff --git a/examples/src/main/scala/SparkHdfsLR.scala b/examples/src/main/scala/spark/examples/SparkHdfsLR.scala index f14d48b17c..4c71fd0845 100644 --- a/examples/src/main/scala/SparkHdfsLR.scala +++ b/examples/src/main/scala/spark/examples/SparkHdfsLR.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.util.Random import scala.math.exp import Vector._ diff --git a/examples/src/main/scala/SparkLR.scala b/examples/src/main/scala/spark/examples/SparkLR.scala index 71f9aea624..d08f5d3f01 100644 --- a/examples/src/main/scala/SparkLR.scala +++ b/examples/src/main/scala/spark/examples/SparkLR.scala @@ -1,3 +1,5 @@ +package spark.examples + import java.util.Random import scala.math.exp import Vector._ diff --git a/examples/src/main/scala/SparkPi.scala b/examples/src/main/scala/spark/examples/SparkPi.scala index f055614125..31c6c5b9b1 100644 --- a/examples/src/main/scala/SparkPi.scala +++ b/examples/src/main/scala/spark/examples/SparkPi.scala @@ -1,3 +1,5 @@ +package spark.examples + import scala.math.random import spark._ import SparkContext._ diff --git a/examples/src/main/scala/Vector.scala b/examples/src/main/scala/spark/examples/Vector.scala index e9fbdca752..ea70626e71 100644 --- a/examples/src/main/scala/Vector.scala +++ b/examples/src/main/scala/spark/examples/Vector.scala @@ -1,3 +1,5 @@ +package spark.examples + @serializable class Vector(val elements: Array[Double]) { def length = elements.length |