[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.
This commit is contained in:
parent
c5876e529b
commit
4a462c282c
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue