Skip to content
Merged
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 @@ -9,14 +9,13 @@ import org.apache.spark.sql.types.StructType
import org.apache.spark.storage.StorageLevel
import org.graphframes.GraphFrame

import java.nio.file.Files
import java.nio.file.Path
import java.nio.file._
import java.util.Properties

object ConnectedComponentsLDBC {
def main(args: Array[String]): Unit = {
val benchmarkGraphName = args.headOption.getOrElse("kgs")
val resourcesPath = Path.of(args.lift(1).getOrElse("/tmp/ldbc_graphalitics_datesets"))
val resourcesPath = Paths.get(args.lift(1).getOrElse("/tmp/ldbc_graphalitics_datesets"))
val caseRoot: Path = resourcesPath.resolve(benchmarkGraphName)

val sparkConf = new SparkConf()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import java.nio.file._
import java.util.Properties

class TestLDBCCases extends SparkFunSuite with GraphFrameTestSparkContext {
private val resourcesPath = Path.of(new File("target").toURI)
private val resourcesPath = Paths.get(new File("target").toURI)
private val unreachableID = 9223372036854775807L

private def readUndirectedUnweighted(pathPrefix: String): GraphFrame = {
Expand Down