diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2015-06-19 11:36:59 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-06-19 11:36:59 -0700 |
commit | 4a462c282c72c47eeecf35b4ab227c1bc71908e5 (patch) | |
tree | 082ea17536b1877804d350fbf2729e84450a7c80 /examples/src/main | |
parent | c5876e529b8e29b25ca03c3a768c0e4709c9a535 (diff) | |
download | spark-4a462c282c72c47eeecf35b4ab227c1bc71908e5.tar.gz spark-4a462c282c72c47eeecf35b4ab227c1bc71908e5.tar.bz2 spark-4a462c282c72c47eeecf35b4ab227c1bc71908e5.zip |
[HOTFIX] Fix scala style in DFSReadWriteTest that causes tests failed
This scala style problem causes tested failed.
Author: Liang-Chi Hsieh <viirya@gmail.com>
Closes #6907 from viirya/hotfix_style and squashes the following commits:
c53f188 [Liang-Chi Hsieh] Fix scala style.
Diffstat (limited to 'examples/src/main')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala b/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala index c05890dfbf..1f12034ce0 100644 --- a/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala +++ b/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala @@ -27,7 +27,7 @@ import org.apache.spark.SparkContext._ /** * Simple test for reading and writing to a distributed * file system. This example does the following: - * + * * 1. Reads local file * 2. Computes word count on local file * 3. Writes local file to a DFS @@ -36,7 +36,7 @@ import org.apache.spark.SparkContext._ * 6. Compares the word count results */ object DFSReadWriteTest { - + private var localFilePath: File = new File(".") private var dfsDirPath: String = "" |