Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Howto debug topology with multiple DRPC spouts in local mode
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sg  
View profile  
 More options Nov 5 2012, 10:20 am
From: sg <stvgorma...@gmail.com>
Date: Mon, 5 Nov 2012 07:20:54 -0800 (PST)
Local: Mon, Nov 5 2012 10:20 am
Subject: Howto debug topology with multiple DRPC spouts in local mode

All,
 How do you go about testing/debugging in local mode a topology with
multiple DRPC spouts.

To my understanding, if you want to debug a DRPC spout in local mode (on a
cluster you only have println) you MUST use a linearDRPCTopologyBuilder.
This doesn't have access to setSpout but expects the topology to have a
single "function" as its drpc function name and you can only specify one.

I have a topology that uses multiple DRPC spouts in a non-linear topology
to expose several entry points into the topology. I need to be able to set
break point in the topology to debug the DRPC spouts to make sure they are
parsing correctly.

If anyone out there would be kind enough to give me their experiences with
debugging DRPC I sure would love to know I am at least doing it the same
way everyone else is.

sg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Marz  
View profile  
 More options Nov 5 2012, 6:09 pm
From: Nathan Marz <nathan.m...@gmail.com>
Date: Mon, 5 Nov 2012 15:08:57 -0800
Local: Mon, Nov 5 2012 6:08 pm
Subject: Re: [storm-user] Howto debug topology with multiple DRPC spouts in local mode

LinearDRPCTopologyBuilder is deprecated, Trident is a better choice as it
supports non-linear topologies and multiple DRPC streams. You should be
able to use logging and breakpoints in local mode to debug. The Debug
filter is useful as well.

--
Twitter: @nathanmarz
http://nathanmarz.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »