ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Vinogradov <avinogra...@gridgain.com>
Subject Re: After setting streamer and ignite,getting NULL
Date Thu, 24 Sep 2015 10:49:57 GMT
Chandresh,
As far as understand IBolt implementation should setup all external
connections at .prepare() method.
So, better way is to get existing Ignite instance or create new at .prepare()
method.


On Thu, Sep 24, 2015 at 10:55 AM, Gianfranco Murador <
murador.gianfranco@gmail.com> wrote:

> Chandresh,
> I will launch the unit test later this week , if the problem persists. I
> think that you should instantiate Ignite through the start() method of
> Ignition class
> and retrieve the Ignite cache specifying a name for the default cache. You
> should provide a name also for data streamer, not passing null.
> Could you do this and run again the unit test ?
> Thank you,
> Regards,
>  Gianfranco
>
>
> 2015-09-24 5:40 GMT+02:00 chandresh pancholi <
> chandreshpancholi007@gmail.com
> >:
>
> > Anton,
> >
> > Clone this repo https://github.com/chandresh-pancholi/ignite and run
> this
> > class
> >
> >
> https://github.com/chandresh-pancholi/ignite/blob/master/modules/storm/src/test/java/org/apache/ignite/stream/storm/IgniteStormStreamerSelfTestSuite.java
> >
> > You will get the Error saying "Oouch,Argument is Null" for getStreamer().
> >
> > On Wed, Sep 23, 2015 at 9:46 PM, Anton Vinogradov <
> > avinogradov@gridgain.com>
> > wrote:
> >
> > > Chandresh,
> > > I'm trying to analize problem.
> > > Could you please provide more details and explain step-by-step how can
> I
> > > reproduce problem?
> > >
> > > On Tue, Sep 22, 2015 at 11:06 PM, chandresh pancholi <
> > > chandreshpancholi007@gmail.com> wrote:
> > >
> > > > Not yet.
> > > > Still doing brainstorming why StormStreamer object is getting NULLL
> > > > in-spite setting up ignite and streamer instances.
> > > >
> > > > On Tue, Sep 22, 2015 at 7:22 PM, Vishal Garg <gargvish@gmail.com>
> > wrote:
> > > >
> > > > > Did you figure it out? Something related to your storm integration?
> > > > > Vishal
> > > > >
> > > > > Sent from my iPhone
> > > > >
> > > > > > On Sep 22, 2015, at 4:50 AM, chandresh pancholi <
> > > > > chandreshpancholi007@gmail.com> wrote:
> > > > > >
> > > > > > Problem here is with Storm. Its making streamer object null
once
> it
> > > > goes
> > > > > > into submit topology.
> > > > > >
> > > > > > On Mon, Sep 21, 2015 at 7:13 PM, Lalit Kumar Jha <
> > > lalitj.dev@gmail.com
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > >> Hi Chandresh,
> > > > > >>
> > > > > >> See test suite class here, its based on annotations
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/sylentprayer/ignite/blob/ignite-530/modules/twitter/src/test/java/org/apache/ignite/stream/twitter/IgniteTwitterStreamerTestSuite.java
> > > > > >>
> > > > > >> No code required in class body.
> > > > > >>
> > > > > >> On Mon, Sep 21, 2015 at 6:24 PM, chandresh pancholi <
> > > > > >> chandreshpancholi007@gmail.com> wrote:
> > > > > >>
> > > > > >>> Hi Gian/Vishal/Lalit,
> > > > > >>>
> > > > > >>> You guys have worked on Streamer integration with Ignite.
I am
> > > > working
> > > > > on
> > > > > >>> Storm-ignite integration.
> > > > > >>>
> > > > > >>> I am setting up setStreamer() and setIgnite() in Test
class and
> > > > sending
> > > > > >>> this object to setBolt() method.
> > > > > >>>
> > > > > >>> When i try to read via gettreamer() and getIgnite()
i am
> getting
> > > > NULL.
> > > > > I
> > > > > >> am
> > > > > >>> trying to find out why is it happening but No Luck.
> > > > > >>>
> > > > > >>> If any one of you find some time and look into the code
and
> help
> > me
> > > > to
> > > > > >>> resolve this. It would be great.
> > > > > >>>
> > > > > >>> Git : https://github.com/chandresh-pancholi/ignite
> > > > > >>> Module : storm
> > > > > >>>
> > > > > >>> --
> > > > > >>> Chandresh Pancholi
> > > > > >>> Senior Software Engineer
> > > > > >>> Flipkart.com
> > > > > >>> Email-id:chandresh.pancholi@flipkart.com
> > > > > >>> Contact:08951803660
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Chandresh Pancholi
> > > > > > Senior Software Engineer
> > > > > > Flipkart.com
> > > > > > Email-id:chandresh.pancholi@flipkart.com
> > > > > > Contact:08951803660
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Chandresh Pancholi
> > > > Senior Software Engineer
> > > > Flipkart.com
> > > > Email-id:chandresh.pancholi@flipkart.com
> > > > Contact:08951803660
> > > >
> > >
> >
> >
> >
> > --
> > Chandresh Pancholi
> > Senior Software Engineer
> > Flipkart.com
> > Email-id:chandresh.pancholi@flipkart.com
> > Contact:08951803660
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message