Chandan Kumar created SPARK-2862: ------------------------------------ Summary: DoubleRDDFunctions.histogram() throws exception for some inputs Key: SPARK-2862 URL: https://issues.apache.org/jira/browse/SPARK-2862 Project: Spark Issue Type: Bug Components: Spark Core Affects Versions: 1.0.0, 0.9.1, 0.9.0 Environment: Scala version 2.9.2 (OpenJDK 64-Bit Server VM, Java 1.7.0_55) running on Ubuntu 14.04 Reporter: Chandan Kumar
histogram method call throws the below stack trace when the choice of bucketCount partitions the RDD in irrational increments e.g. scala> val r = sc.parallelize(6 to 99) r: org.apache.spark.rdd.RDD[Int] = ParallelCollectionRDD[0] at parallelize at <console>:12 scala> r.histogram(9) java.lang.IndexOutOfBoundsException: 9 -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org