You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Denis Sevosteenko <de...@gmail.com> on 2019/09/11 12:00:22 UTC

Re: Storm and singletons

Hi all,

Just wanted to give an update (in case anyone is interested), since the
issue has been solved now. Turns out maven shade plugin was configured
incorrectly. We were excluding classes based on mask instead of using
recommended provided scope for storm dependency. Switching to maven shade
configuration provided as example in storm docs has helped.

Re: Storm and singletons

Posted by Roshan Naik <ro...@yahoo.com>.
 Not sure about Cassandra.. but DB connection objects typically are not thread safe... ie you cannot have to two threads issue queries/write over the same connection at the same time.

    On Wednesday, September 11, 2019, 05:00:44 AM PDT, Denis Sevosteenko <de...@gmail.com> wrote:  
 
 Hi all,
Just wanted to give an update (in case anyone is interested), since the issue has been solved now. Turns out maven shade plugin was configured incorrectly. We were excluding classes based on mask instead of using recommended provided scope for storm dependency. Switching to maven shade configuration provided as example in storm docs has helped.