Re: ExceptionInInitialization error

2016-05-31 Thread Punit Naik
Nice explanation. On Thursday, February 25, 2016 at 8:46:46 PM UTC+5:30, Gary Verhaegen wrote: > > The lein deps :tree message (on stderr, which may be why it was not > included in your mail?) said: > > > Possibly confusing dependencies found: > [cheshire "5.3.1"] > overrides > [riemann "0.2.10"

Secondar Sorting in spark using clojure/flambo

2016-07-08 Thread Punit Naik
I have a scala program in which I have implemented a secondary sort which works perfectly. The way I have written that program is: object rfmc { // Custom Key and partitioner case class RFMCKey(cId: String, R: Double, F: Double, M: Double, C: Double) class RFMCPartitioner(part

Re: Secondar Sorting in spark using clojure/flambo

2016-07-08 Thread Punit Naik
> ) > > > where ** is package full name. > > > > On Friday, 8 July 2016 21:31:27 UTC+5:30, Punit Naik wrote: >> >> >> >> >> I have a scala program in which I have implemented a secondary sort which >> works perfectly. The way I have wri

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Punit Naik
a dependency or > simply as reference material. > > What you want to do is find the full method signature, including the > implicits, and invoke _that_ from clojure, passing values for all implicit > parameters (in this case, your custom ordering function. > > HTH > > On Sa

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Punit Naik
it. And then you have to convert the spark RDD back to JavaPairRDD to work with it in clojure. And sorry that I got your name wrong *Blake :) On Tuesday, July 12, 2016 at 12:16:42 AM UTC+5:30, Punit Naik wrote: > > Hi Black > > Thanks for the reply but figured it out on my own. Posting th

`partition-all` issue

2016-12-21 Thread Punit Naik
Hi Guys Recently I came across this issue i.e. when the user passes 0 as the `n` parameter to the `partition` or `partition-all` function, the code hangs indefinitely without throwing an error or anything. I was using this function inside my Elasticsearch back-end API and when this condition us

Re: `partition-all` issue

2016-12-21 Thread Punit Naik
Okay Alex, thanks. On Wednesday, December 21, 2016 at 6:23:34 PM UTC+5:30, Alex Miller wrote: > > This has come up before (http://dev.clojure.org/jira/browse/CLJ-764) and > we decided this was the desired behavior, so no plans to change it. -- You received this message because you are subscribe

Re: New idea & POC for a Kubernetes/Clojure interface

2018-05-22 Thread Punit Naik
Is there any documentation around spinning up K8s cluster on Amazon EC2 instances? On Tuesday, November 7, 2017 at 8:34:35 AM UTC+5:30, Blake Miller wrote: > > Here's a little something I cooked up this weekend, to interact with a > Kubernetes cluster from Clojure: > > https://github.com/blak3mi

clojure future method

2016-02-15 Thread Punit Naik
I have a function which calls a number of functions in sequence. Few of them are normal functions and some of them use clojure's 'future' method. When I run this function, All the normal fuctions run but the functions which use 'future' don't run at all. But if I run the functions which use 'fu

Clojure.async channels

2016-02-17 Thread Punit Naik
I want to create a clojure aync channel which will do a specific task after its fully filled to its capacity or after a certain amount of time since its activation. How do I do this? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
xclusions? What did you change last > before it broke? Is it possible that you somehow corrupted your Maven > repository and are missing the mentioned class? > > Maybe it's not a dependency issue at all. > > On Wednesday, 24 February 2016, Punit Naik > wrote: > > He

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
rsion you're declaring in > project.clj, instead of adding exclusions, though. (On my machine this > gets rid of the conflicts.) > > > On 24 February 2016 at 10:24, Punit Naik wrote: > > Okay. So this is my project.clj: > > > > > &g

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
Thank you so much Gary. Updating Cheshire totally worked!! But may I ask how were you able to deduce that Cheshire was the problem? Do tell me so that in the future I can fix these kind of problems myself. On Thu, Feb 25, 2016 at 12:07 PM, Punit Naik wrote: > Okay thanks a lot Gary. Will