Storm topology using all the Max connections of db

2016-04-27 Thread Sai Dilip Reddy Kiralam
Hi, I have topology that make connection with postgresdb and insert the fields into tables of a test db.my topology is working fine but when I submit the topology it is establishing all the connections of db.but I don’t know why it is taking all the max connections. below attached the pics of

Slots vs. Topology

2016-04-27 Thread I PVP
Hi everyone, Do I need to have one slot(supervisor.slots.ports:) at the storm.yaml for each Topology? What is the impact of having a number of Slots smaller than the number of Topologies ? So far I am understanding that the impact is that some topologies will never run. I have 12

Re: Any trick to getting example storm starter to work?

2016-04-27 Thread Joaquin Menchaca
I first tried the 0.10.1 from a branch (0.10.x-snapshot), and I couldn't get it to compile, as it was referring to repos that didn't exist. So I downloaded the zip, then it compiled. >From there, I tried to run it as per docs, but the *org.apache.storm.starter.ExclamationTopology* would not

thread safe output collector

2016-04-27 Thread Steven Lewis
I have conflicting information, and have not checked personally but has the output collector finally been made thread safe for emitting in version 1.0 or 0.10? I know it was a huge problem in 0.9.5 when trying to do threading in a bolt for async future calls and emitting once it returns. This

Re: Need Help

2016-04-27 Thread Spico Florin
Hi! In Storm UI, please have a look at the value that you get for the Capacity (last 10m) for your bolt. If it closer If this value close to 1, then the bolt is “at capacity”and is a bottleneck in your topology.Address such bottlenecks by increasing the parallelism of the “at-capacity” bolts.

Need Help

2016-04-27 Thread Sai Dilip Reddy Kiralam
Hi All, I'm running a topology in local machine.my bolts parse the json data and insert the parsed fields into db.one of the bolt is turning into red color.What does it mean. does it indicate flow of tuples is more for that insert bolt? if yes!! .what should I do?Do I need it increase the

Re: Need a clear explanation

2016-04-27 Thread Sai Dilip Reddy Kiralam
Thank you Erik weathers. next time for sure I will place the source. *Best regards,* *K.Sai Dilip Reddy.* On Wed, Apr 27, 2016 at 12:16 PM, Erik Weathers wrote: > So, you got those quotes from the following page it seems (please cite > your source next time): > >

Re: Need a clear explanation

2016-04-27 Thread Erik Weathers
So, you got those quotes from the following page it seems (please cite your source next time): https://storm.apache.org/releases/current/FAQ.html > *Number of workers a multiple of number of machines * I'm not sure why that statement is there. It entirely depends on how many topologies you are