{"push_id":1084060724,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"b208229ba1768ee72eae7b6b0da0ac9ccff3be62","before":"6a7ba1ff7431281f4c3994a8db70a8fb6eefbf00","commits":[{"sha":"f70e4fff0e7adb8d6fe774daf11fb0dfb080cf31","author":{"email":"91c5214c0a28a5aafc3cf26ac6277e87cb71e65e@gmail.com","name":"Subhobrata Dey"},"message":"[SPARK-14889][SPARK CORE] scala.MatchError: NONE (of class scala.Enumeration) when spark.scheduler.mode=NONE\n\n## What changes were proposed in this pull request?\n\nHandling exception for the below mentioned issue\n\n```\n➜  spark git:(master) ✗ ./bin/spark-shell -c spark.scheduler.mode=NONE\n16/04/25 09:15:00 ERROR SparkContext: Error initializing SparkContext.\nscala.MatchError: NONE (of class scala.Enumeration$Val)\n\tat org.apache.spark.scheduler.Pool.<init>(Pool.scala:53)\n\tat org.apache.spark.scheduler.TaskSchedulerImpl.initialize(TaskSchedulerImpl.scala:131)\n\tat org.apache.spark.SparkContext$.org$apache$spark$SparkContext$$createTaskScheduler(SparkContext.scala:2352)\n\tat org.apache.spark.SparkContext.<init>(SparkContext.scala:492)\n```\n\nThe exception now looks like\n\n```\njava.lang.RuntimeException: The scheduler mode NONE is not supported by Spark.\n```\n\n## How was this patch tested?\n\nmanual tests\n\nAuthor: Subhobrata Dey <sbcd90@gmail.com>\n\nCloses #12666 from sbcd90/schedulerModeIssue.","distinct":true,"url":"https://api.github.com/repos/zzcclp/spark/commits/f70e4fff0e7adb8d6fe774daf11fb0dfb080cf31"},{"sha":"de6e633420aba1fe5d806a2725a95e610699ae7d","author":{"email":"0a9ce8eba3d8b9779c4a919bb8148eaf6deb7b2a@gmail.com","name":"Azeem Jiva"},"message":"[SPARK-14756][CORE] Use parseLong instead of valueOf\n\n## What changes were proposed in this pull request?\n\nUse Long.parseLong which returns a primative.\nUse a series of appends() reduces the creation of an extra StringBuilder type\n\n## How was this patch tested?\n\nUnit tests\n\nAuthor: Azeem Jiva <azeemj@gmail.com>\n\nCloses #12520 from javawithjiva/minor.","distinct":true,"url":"https://api.github.com/repos/zzcclp/spark/commits/de6e633420aba1fe5d806a2725a95e610699ae7d"},{"sha":"b208229ba1768ee72eae7b6b0da0ac9ccff3be62","author":{"email":"9749d1492af3d43f9c09e04c5c43f27bb909af51@japila.pl","name":"Jacek Laskowski"},"message":"[MINOR][DOCS] Minor typo fixes\n\n## What changes were proposed in this pull request?\n\nMinor typo fixes (too minor to deserve separate a JIRA)\n\n## How was this patch tested?\n\nlocal build\n\nAuthor: Jacek Laskowski <jacek@japila.pl>\n\nCloses #12469 from jaceklaskowski/minor-typo-fixes.","distinct":true,"url":"https://api.github.com/repos/zzcclp/spark/commits/b208229ba1768ee72eae7b6b0da0ac9ccff3be62"}]}