Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/18288#discussion_r121903823
--- Diff:
mllib/src/test/scala/org/apache/spark/ml/source/libsvm/LibSVMRelationSuite.scala
---
@@ -35,15 +35,22 @@ class LibSVMRelationSuite extends SparkFunSuite with
MLlibTestSparkContext {
override def beforeAll(): Unit = {
super.beforeAll()
- val lines =
+ val lines0 =
"""
|1 1:1.0 3:2.0 5:3.0
|0
+ """.stripMargin
+ val lines1 =
+ """
|0 2:4.0 4:5.0 6:6.0
""".stripMargin
val dir = Utils.createDirectory(tempDir.getCanonicalPath, "data")
- val file = new File(dir, "part-00000")
- Files.write(lines, file, StandardCharsets.UTF_8)
+ val succ = new File(dir, "_SUCC")
--- End diff --
Should be `_SUCCESS` right? at least to emulate the structure of an actual
output dir
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]