Re: Is storm support bidirectional communication

2014-05-27 Thread M.Tarkeshwar Rao
Hi Vinoth, Thanks for reply. I want some more help from you. We are designing a product where we have to process online incoming request from some frontend and after processing this request we have to send it to intranet and we also want to get response intranet. We call it request-process-respo

Re: Position in Kafka Stream

2014-05-27 Thread Harsha
Hi Tyson, Yes kafka trident has offset metric and kafkaFetchAvg, kafkaFetchMax https://github.com/apache/incubator-storm/blob/master/external/storm-kafka/src/jvm/storm/kafka/trident/TridentKafkaEmitter.java#L64 -Harsha On Tue, May 27, 2014, at 06:55 PM, Tyson Norris wrote: > Do T

Re: Storm failover, is it possible to know the last succeeded bolt when fail method gets called in spout?

2014-05-27 Thread Xueming Li
Thank you very much Taylor for prompt reply :-)

Re: Storm failover, is it possible to know the last succeeded bolt when fail method gets called in spout?

2014-05-27 Thread P. Taylor Goetz
In short, no. Not today. Storm's acking mechanism is largely stateless (one long can track an entire tuple tree),which is one of the reasons it is so efficient. But the acking mechanism is also based on Storms core primitives, so it is entirely possible. There is a JIRA for adding additional m

Re: zookeeper problem when use trident kafka spout

2014-05-27 Thread Srinath C
Apart from the autopurge options, also set the number of transactions after which a snapshot is taken (snapCount). This number should be set depending on the rate of updates to zookeeper. On Wed, May 28, 2014 at 12:32 AM, Danijel Schiavuzzi wrote: > You have to configure ZooKeeper to automatica

Re: Position in Kafka Stream

2014-05-27 Thread Tyson Norris
Do Trident variants of kafka spouts do something similar? Thanks Tyson > On May 27, 2014, at 3:19 PM, "Harsha" wrote: > > Raphael, >kafka spout sends metrics for kafkaOffset and kafkaPartition you can > look at those by using LoggingMetrics or setting up a ganglia. Kafka uses its > own

Storm failover, is it possible to know the last succeeded bolt when fail method gets called in spout?

2014-05-27 Thread Xueming Li
Hi guys, For a Storm topology, if a tuple failed to be processed (either timed out or fail method got called on the tuple explicitly), I understand that fail method of the spout will be called with the tuple message id. Other than that, can Storm provide any info as to the last bolt that had proce

Re: Building Storm

2014-05-27 Thread P. Taylor Goetz
I'll do a couple tests, but for the most part it should just work on OSX, etc. (Storm releases are built on OSX). What version of maven are you using? Have you tried with the latest version? -Taylor > On May 27, 2014, at 5:54 PM, Przemek Grzędzielski > wrote: > > Hi guys, > > got exactly th

Re: Position in Kafka Stream

2014-05-27 Thread Harsha
Raphael, kafka spout sends metrics for kafkaOffset and kafkaPartition you can look at those by using LoggingMetrics or setting up a ganglia. Kafka uses its own zookeeper to store state info per topic & group.id you can look at kafka offsets using kafka/bin/kafka-run-class.sh kafka.tools.Co

Position in Kafka Stream

2014-05-27 Thread Raphael Hsieh
Is there a way to tell where in the kafka stream my topology is starting from? >From my understanding Storm will use zookeeper in order to tell its place in the Kafka stream. Where can I find metrics on this ? How can I see how large the stream is? What how much data is sitting in the stream and wh

Building Storm

2014-05-27 Thread Przemek Grzędzielski
Hi guys, got exactly the same results trying to build storm (exactly the commands as mentioned). Tried on: Xubuntu 12.04.4 and OS X Mavericks 10.9.2. Would be great to know what's the cause of this issue :-/

Batches per second

2014-05-27 Thread Raphael Hsieh
Is there a way to tell how many batches per second are being processed by my topology? Thanks -- Raphael Hsieh

Re: How Metrics and builtin-metrics work

2014-05-27 Thread Przemek Grzędzielski
Will have a look at those. Thanks for your suggestions! Regards, Przemek

Re: kafka-storm-starter, trying to add memcached state and trident topology (word count)

2014-05-27 Thread Danijel Schiavuzzi
I believe you should be using a Trident Kafka spout variant if you're building a Trident topology, not the plain Storm KafkaSpout one. On Tuesday, May 27, 2014, Romain Leroux wrote: > Hi, > > First of all thanks to @miguno for his amazing work on kafka-storm-starter. > > I am trying to add a mem

Re: zookeeper problem when use trident kafka spout

2014-05-27 Thread Danijel Schiavuzzi
You have to configure ZooKeeper to automatically purge old logs. ZooKeeper's logs tend to grow very quickly in size, so you should enable the autopurge option in zoo.cfg or they will eat your available disk space. I suggest you read ZooKeeper's Installation And Maintainance Guide. On Tuesday, May

Re: PersistentAggregate

2014-05-27 Thread Danijel Schiavuzzi
The aggregations are done by Storm. persistentAggregate provides only a means to access the datastore to get the current aggregate for the specified key (using the IBackingMap's multiGet() implementation), provide that aggregate as the input to the Aggregator implementation along with other same-ke

[RESULT] [VOTE] Storm Logo Contest - Round 1

2014-05-27 Thread P. Taylor Goetz
Round one of the Apache Storm logo contest is now complete and was a great success. We received votes from 7 PPMC members as well as 46 votes from the greater Storm community. We would like to extend a very special thanks to all those who took the time and effort to create and submit a logo pro

PersistentAggregate

2014-05-27 Thread Raphael Hsieh
>From my understanding, PersistentAggregate should first aggregate the batch, then once the batch has finished aggregating, send it to whatever datastore is specified. Is this the case ? Or will the Persistent Aggregate use the external datastore in order to do the aggregations ? -- Raphael Hsie

zookeeper problem when use trident kafka spout

2014-05-27 Thread Andres Gomez
Hi all, I use storm with kafka! Actually, I use a topology with trident storm = when I use: 1- trasactional trident spout 2- Some functions I have a problem in my zookeeper cluster, because storm continually = writes at zkPath --> /trasactional/ and this generate a lot of logs and = snapshot by

Re: Output of storm topology?

2014-05-27 Thread Hamza Asad
There is no such error. locally means on my local system. Any ways i have emailed you the code separately. Please look into them and help me out in resolving this issue Thanks in advance p.s any one else knows the solution, do let me knw please. On Tue, May 27, 2014 at 8:46 PM, Bilal Al Fartakh w

Re: Output of storm topology?

2014-05-27 Thread Bilal Al Fartakh
I used as you see the Basicoutputcollector and the path to the file we want to save is set here : output = new BufferedWriter(new FileWriter("/root/src/storm-starter/hh.txt", true)); and what do you mean about locally ? can you show me the error so I or another member can detect the problem , and

Re: Output of storm topology?

2014-05-27 Thread Hamza Asad
I have tested that, Spout is working fine and populating file BUT bolts Output is not logging into desired output file locally.. Why? Any idea why this is happening? Does Bolt write in a file located on local system? Is there any specific outputCollector for that? On Tue, May 27, 2014 at 1:49 PM,

Re: [VOTE] Storm Logo Contest - Round 1

2014-05-27 Thread Marco
so? have you got a winner? :) Il Mercoledì 21 Maggio 2014 12:51, Simon Cooper ha scritto: #10: 3pts #6: 2pts   From:jose farfan [mailto:josef...@gmail.com] Sent: 21 May 2014 11:38 To: user@storm.incubator.apache.org Subject: Re: [VOTE] Storm Logo Contest - Round 1   #6 - 5 pts   On Thu, Ma

Re: Is storm support bidirectional communication

2014-05-27 Thread Vinoth Kumar Kannan
Take a look at Storm DRPC On Tue, May 27, 2014 at 8:08 AM, M.Tarkeshwar Rao wrote: > Hi, > > Is storm support bi-directional communication? > I want to implement event based processing like http(*request processing > response*). > > is it possible? if yes can you please suggest. > > regards > Ta

Re: Output of storm topology?

2014-05-27 Thread Bilal Al Fartakh
HI hamza ! if you want to see the result you can try programming your bolt to save results emitted from the spout/bolt on a file . as example : PrinterBolt : package storm.starter; import backtype.storm.topology.BasicOutputCollector; import backtype.storm.topology.OutputFieldsDeclarer; impo

Re: Output of storm topology?

2014-05-27 Thread Hamza Asad
Respected All, I'm new to storm, started working on it of my own as i'm impressed by the features it is providing. I have successfully deployed storm, run wordcount example. But i want to see the result. Either on a web UI or in a file. How can i do that? Please help me as it is very necessary to v

Fwd: Output of storm topology?

2014-05-27 Thread Hamza Asad
-- Forwarded message -- From: Hamza Asad Date: Tue, May 27, 2014 at 1:34 PM Subject: Output of storm topology? To: user@storm.incubator.apache.org Respected All, I'm new to storm, started working on it of my own as i'm impressed by the features it is providing. I have successfull

kafka-storm-starter, trying to add memcached state and trident topology (word count)

2014-05-27 Thread Romain Leroux
Hi, First of all thanks to @miguno for his amazing work on kafka-storm-starter. I am trying to add a memcached state to it based on : https://github.com/nathanmarz/trident-memcached More particularly I'd like to test the full stack: Kafka->Storm->TransactionalState(Memcached) with Trident. I am