FAQ
I'm trying to run a topology on a local cluster as a DRPC call on Storm
0.8.1
Since the processing can be quite intensive en heavy, I'd like to increase
the timeout of the RPC call beyond the default of 10 minutes
The code is as follows:

Config conf = new Config();
conf.put(Config.DRPC_REQUEST_TIMEOUT_SECS, 60*60);
LocalDRPC drpc = new LocalDRPC();
LocalCluster cluster = new LocalCluster();
cluster.submitTopology("test1", conf, buildTopology(drpc));
drpc.execute("calculate", null);
cluster.shutdown();
drpc.shutdown();

However, this still causes the execute to return after 10 minutes after
Nimbus decided to shut itself down.
Does anyone have an idea what is wrong with the above code?

I noticed that LocalCluster's constructor takes a map, so I tried given it
the conf object, but an internal NullPointerException followed upon
construction of LocalCluster.
Which leads me to question number 2: is there any documentation on
LocalCluster and LocalDRPC?

This project seems interesting, but harvesting info on blogs and articles
is tiresome, especially since most of those are about older versions
(deprecated)

Search Discussions

  • Kenny Claes at Dec 18, 2012 at 10:54 am
    I must say I'm confused.

    I went ahead and checked out the project to inspect the source. I tried
    master, 0.7.5, 0.8.2 and 0.9.
    The only mentions of drpc.request.timeout.secs is in its definition in
    Config.java and defaults.yaml, but nowhere are they used.

    How is this supposed to work? Yet, when I try the code mentioned above, it
    times out at 10 mins....
  • Kenny Claes at Jan 8, 2013 at 9:19 am
    I still haven't been able to figure this out. Anyone can confirm whether
    timeout is supposed to be working on a LocalCluster?


    --


    <http://careers.continuum.be>

    ----
    Dit bericht (inclusief de bijlagen) kan vertrouwelijk zijn. Als u dit
    bericht ten onrechte hebt ontvangen, wordt u verzocht de afzender te
    informeren en het bericht te wissen. Het is niet toegestaan om dit bericht,
    geheel of gedeeltelijk, zonder toestemming te gebruiken of te verspreiden.
    Continuum Consulting NV sluit elke aansprakelijkheid uit wanneer informatie
    in deze e-mail niet correct, onvolledig of het niet tijdig overkomt,
    evenals indien er schade ontstaat ten gevolge van deze e-mail. Continuum
    Consulting NV garandeert niet dat het bericht vrij kan zijn van
    onderschepping of manipulatie daarvan door derden of computerprogramma’s
    die worden gebruikt voor elektronische berichten en het overbrengen van
    virussen.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupstorm-user @
postedDec 15, '12 at 8:54p
activeJan 8, '13 at 9:19a
posts3
users1
websitestorm-project.net
irc#storm-user

1 user in discussion

Kenny Claes: 3 posts

People

Translate

site design / logo © 2022 Grokbase