Re: [ANN] Sparkling, a Clojure-API to Apache Spark.

2015-05-18 Thread Tilak Thapa
Oh yes. Thanks Dmitriy. On Monday, May 18, 2015 at 4:13:09 AM UTC-5, Dmitriy Morozov wrote: Hi Tilak! You are trying to call groupByKey on instance of JavaRDD which doesn't have this method. You need JavaPairRDD which you can create with spark/map-to-pair. Good luck! On Wednesday,

Re: [ANN] Sparkling, a Clojure-API to Apache Spark.

2015-05-17 Thread Tilak Thapa
Hi, could anybody please help me to figure out following error with group-by-key fn? (defn sorted-tuple [p f] (if ( (.compareTo p f) 0) (spark/tuple p f) (spark/tuple f p))) (defn tuples-list [[p frens]] (map #(spark/tuple (sorted-tuple p %) frens) frens)) (- (spark/parallelize

Re: Reactive Programming in Clojure

2013-11-10 Thread Tilak Thapa
+1 On Sunday, November 10, 2013 3:13:17 AM UTC+5:45, Marco Manzi wrote: Hi all, I'm a young clojure developer. I work as Java developer, but I've falled in love with this fantastic language and I would like to help in some way. Actually I'm following Principles of Reactive

Re: Any interest in Compojure/Ring screencasts?

2013-10-31 Thread Tilak Thapa
+1, @James, i'm in. On Wednesday, October 30, 2013 4:32:18 AM UTC+5:45, Russell Whitaker wrote: I, for one, would happily pay (my employer's) money for such a thing. R On Tue, Oct 29, 2013 at 3:39 PM, James Reeves ja...@booleanknot.comjavascript: wrote: I'm considering putting

filter with a sequence of maps not working

2013-08-07 Thread Tilak Thapa
I'm new to clojure. I've return an utility function to filter a sequence of map by some key but it's not working. Here is the sample code - (def data [{:id 1 :b 2} {:id 3 :b 4} {:id 5 :b 6} {:id 7 :b 8}]) In real app this is a sequence of maps