Skip to content

Commit

Permalink
fixing the default number of parallelism for the non-experimental ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
vkhristenko committed Oct 16, 2017
1 parent 0ed4f40 commit 007454e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/dianahep/sparkroot/sparkroot.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ package object sparkroot {
val localOptTreeName = optTreeName

// parallelize over all the files
val r = sqlContext.sparkContext.parallelize(inputPathFiles).
val r = sqlContext.sparkContext.parallelize(inputPathFiles, inputPathFiles.size).
flatMap({pathName =>
logger.info(s"Opening file $pathName")
val reader = new RootFileReader(pathName)
Expand Down

0 comments on commit 007454e

Please sign in to comment.