Re: Future of Logback?

2013-11-11 Thread Patricio Echagüe
Logback if I'm not wrong was created by the creators of log4j and it's more efficient and modern. What would be the rationale to switch to log4j? Sent from my Nexus 4. On Nov 11, 2013 6:14 PM, "P. Taylor Goetz" wrote: > No, and I doubt there would be any pressure to switch to log4j. If you > loo

Re: Metric_Storm

2013-12-13 Thread Patricio Echagüe
It seems to be that you just instantiate MetricsStorm and call initiateWebConsole(port). I also posted a while ago something similar. http://patricioechague.blogspot.com/2013/10/different-strategies-to-monitor-storm.html Sent from my Nexus 4. On Dec 13, 2013 3:33 AM, "Cheng Xuntao" wrote: > Hi,

Re: Profiling a topology, Heapster and Ostrich

2013-12-17 Thread Patricio Echagüe
We use yourkit and it's been great so far. On Tue, Dec 17, 2013 at 12:05 PM, Serkan Uzunbaz wrote: > Hi all, > In my topology, one of the tasks of a bolt has a higher execute latency > than the other tasks of the same bolt. I am trying to find the root cause > by profiling the topology. > > Whi

Lots of .tmp files under /tmp

2013-12-30 Thread Patricio Echagüe
Has any of you ran into this issue where there are a lot of .tmp files under /tmp owned by storm process? -rw-rw-r-- 1 stormstorm 2877 Dec 27 00:36 hsoRefX3Fu0OMf89gmlTwVIw9G6zlf4801471426122403897.tmp -rw-rw-r-- 1 stormstorm 3239 Dec 23 12:18 hsoUiDr1FFboRONPue1rDqva4oWOmm593908

Re: DI with Storm

2014-03-25 Thread Patricio Echagüe
why do you need to do that? Just instantiate the injector on the prepare. You can make it thread safe and visible to the whole JVM for the worker. Doesn't Storm 0.9 have a prepare for the worker? On Tue, Mar 25, 2014 at 10:25 AM, Software Dev wrote: > I'm guessing my only other choice is to add

Re: DI with Storm

2014-03-25 Thread Patricio Echagüe
It's fine. You can synchronize with a static monitor the creation on the injector per worker. That's how I do it. public class InjectorProvider { private static Injector injector; public static Injector get() { if (injector == null) { synchronized (InjectorProvider.class) { if (injector == null

Re: DI with Storm

2014-03-25 Thread Patricio Echagüe
configuration available from every call site of InjectorProvider#get() > > > On Tue, Mar 25, 2014 at 9:55 PM, Patricio Echagüe wrote: > >> It's fine. You can synchronize with a static monitor the creation on the >> injector per worker. That's how I do it. >> &

Re: Curiosity

2014-04-01 Thread Patricio Echagüe
That's where chef or puppet come handy. Sent from my Nexus 4. On Apr 1, 2014 9:20 AM, "David Crossland" wrote: > That's a pain, thanks. Its either that then or configure it in code... > either way I either have to recompile or touch each node.. > > Still thanks for the info xD > > D > > *F