Skip to content

Commit 5757841

Browse files
committed
Change config
1 parent 9c2d010 commit 5757841

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jar/binary.jar

1 Byte
Binary file not shown.

src/main/scala/SparkJob.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class SparkJob(val padding: Int = 3,
3838
val splitted = splitImage(inputMatrix)
3939

4040
// Make RDD of matrixes
41-
val matrixes = sc.parallelize(splitted._1, splitted._2 * splitted._3 * 100)
42-
matrixes.partitionBy(new HashPartitioner(splitted._2 * splitted._3 * 100)).persist(StorageLevel.MEMORY_ONLY)
41+
val matrixes = sc.parallelize(splitted._1, splitted._2 * splitted._3)
42+
matrixes.partitionBy(new HashPartitioner(splitted._2 * splitted._3)).persist(StorageLevel.MEMORY_ONLY)
4343
val computed = compute(matrixes, pipeline)
4444

4545
// Reassemble the matrix

0 commit comments

Comments
 (0)