Re: Apache Spark : Custom function for reduceByKey - missing arguments for method

2015-07-10 Thread Richard Marscher
ader.scala:118: error: > missing arguments for method getMin in class DatasetReader; > > [ERROR] follow this method with '_' if you want to treat it as a partially > applied function > > [ERROR] minVector = attribMap.reduceByKey( getMin ) > > I am not sure what I am d

Apache Spark : Custom function for reduceByKey - missing arguments for method

2015-07-09 Thread ameyamm
at I am doing wrong here. My RDD is an RDD of Pairs and as per my knowledge, I can pass any method to it as long as the functions is of the type f : (V, V) => V. I am really stuck here. Please help. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Apache-Sp