Re: Cassandra bolt

2014-09-25 Thread Harsha
did you tried [1]https://github.com/ptgoetz/storm-cassandra. On Thu, Sep 25, 2014, at 11:20 AM, Strulovitch, Zack wrote: I've updated to 0.9.2 from pre-apache version 0.9.0.1 (which broke my Cassandra bolt implemented using this code :

Re: metrics consumer logging stormUI data

2014-09-22 Thread Harsha
Hi Raphael, I tested it with wordcounttopology under examples. conf.registerMetricsConsumer(LoggingMetricsConsumer.class, 2); I do see the metrics added to the logs/metrics.log. metrics.log should be present by default under storm/logs dir. -Harsha On Mon, Sep 22, 2014

Re: metrics consumer logging stormUI data

2014-09-22 Thread Harsha
coming in the metrics.log. -Harsha On Mon, Sep 22, 2014, at 10:41 AM, Raphael Hsieh wrote: Hi Harsha, Did you have to bind the metrics consumer to the default StormUI metrics at all? Or do those automagically get included ? Thanks! On Mon, Sep 22, 2014 at 10:33 AM, Otis Gospodnetic [1

Re: metrics consumer logging stormUI data

2014-09-19 Thread Harsha
the metrics , if the cluster is restarted topology stats will be reset. you can find bit more info on this page [1]http://blog.relateiq.com/monitoring-storm/ -Harsha On Fri, Sep 19, 2014, at 03:12 PM, Raphael Hsieh wrote: Hi, Using Storm/Trident, how do I register a metrics consumer to log

Re: Storm 0.9.2-incubating - num workers and num executors switched?

2014-09-16 Thread Harsha
Hi Jing, Its the UI bug fixed in the trunk. [1]https://issues.apache.org/jira/browse/STORM-369 -Harsha On Tue, Sep 16, 2014, at 12:45 PM, Tao, Jing wrote: We recently upgraded to Storm 0.9.2-incubating, and found that on the UI, Num workers and Num executors switched. Example

Re: muliple-nodes kafka cluster

2014-09-16 Thread Harsha
the kafka docs here [1]http://kafka.apache.org/documentation.html for simple consumer and also how the replication works among multiple nodes. -Harsha On Tue, Sep 16, 2014, at 02:06 PM, Sa Li wrote: Hi, All I have been using kafka cluster in single server with three brokers, but I am

Re: Trying to run test Storm App on Windows but getting problems with POM file

2014-09-16 Thread Harsha
Hi , Did you changed storm/pom.xml groupIdorg.apache.storm/groupId artifactIdstorm/artifactId version0.9.3-incubating-SNAPSHOT/version and also are your running mvn install from top-level dir not from storm-starter. -Harsha On Tue, Sep 16, 2014, at 03:12 PM, Gezim

Re: Is there a Tweeter Streaming Spout?

2014-09-08 Thread Harsha
Hi Connie, You can take a look at twittersamplespout in examples [1]https://github.com/apache/incubator-storm/blob/mast er/examples/storm-starter/src/jvm/storm/starter/spout/TwitterSa mpleSpout.java It uses twitter4j to read the api you can make changes to fit your needs. -Harsha

Re: Is there a Tweeter Streaming Spout?

2014-09-08 Thread Harsha
see but thats not related to spout parallelism. Even with a single spout instance you can go over your api call rate limit. -Harsha On Mon, Sep 8, 2014, at 06:35 AM, Vikas Agarwal wrote: That is interesting. However, it won't allow spout parallelism more than 1, right? On Mon, Sep 8, 2014

Re: How Do Workers Connect To Nimbus

2014-09-08 Thread Harsha
/ for any errors when you try to start nimbus or supervisors. If you are installing it manually try following these steps if you are not already done. [1]http://www.michael-noll.com/tutorials/running-multi-node-sto rm-cluster/ -Harsha On Mon, Sep 8, 2014, at 03:01 PM, Stephen Hartzell wrote

Re: How Do Workers Connect To Nimbus

2014-09-08 Thread Harsha
There aren't any errors in worker machine supervisor logs. Are you using the same storm.yaml for both the machines and also are you able to ping your nimbus host or connect to zookeeper on nimbus host. -Harsha On Mon, Sep 8, 2014, at 03:24 PM, Stephen Hartzell wrote: Harsha, Thanks so

Re: How Do Workers Connect To Nimbus

2014-09-08 Thread Harsha
machine is restarted) make sure you zookeeper is also listening in 0.0.0.0 or public ip not 127.0.0.1. No, I cannot ping my host which has a public ip address of 54.68.149.181 you are not able to reach this ip form worker node but able to access the UI using it? -Harsha On Mon, Sep 8, 2014, at 03

Re: How Do Workers Connect To Nimbus

2014-09-08 Thread Harsha
for logs under you storm installation it should be under logs dir. -Harsha On Mon, Sep 8, 2014, at 05:23 PM, Stephen Hartzell wrote: All, I implemented the suggestions given by Parh and Harsha. I am now using the default.yaml but I changed the storm.zookeeper.servers to the nimbus machine's

Re: cannot run ready project

2014-09-07 Thread Harsha
can you give bit more details on which project you are using. If its available on github I can try it out. -Harsha On Sun, Sep 7, 2014, at 05:18 AM, researcher cs wrote: any help about this ? On Thu, Sep 4, 2014 at 2:59 PM, researcher cs [1]prog.researc...@gmail.com wrote: Thanks

Re: Issues with Topology with Kafka Spout

2014-09-03 Thread Harsha
spout tries to accumulate message (which too many failed messages) for first few minutes (10 mins or so) This seems strange. How many partitions your topic has and whats the parallelism on the spout. -Harsha On Tue, Sep 2, 2014, at 10:22 PM, Vikas Agarwal wrote: Hi, I am not sure

Re: Kafka Spout Warnings

2014-09-03 Thread Harsha
Hi Nick, Whats your log.retention set on kafka. It might be that kafka is deleting your data before KafkaSpout is able to consume. -Harsha On Wed, Sep 3, 2014, at 10:01 AM, Nick Beenham wrote: We have started to see a lot of these errors within the logs, and the tuples being emitted

Re: Error on Supervisor start

2014-09-02 Thread Harsha
Hi Telles, I haven't used zeromq or jzmq before sorry I can't help you there. so I ran the command by hand and no exceptions were thrown this time So everything looks good now? -Harsha On Tue, Sep 2, 2014, at 07:32 AM, Telles Nobrega wrote: Hi Harsha, so I ran the command by hand

Re: Error on Supervisor start

2014-09-02 Thread Harsha
If possible can you share your storm.yaml. Incase if you are upgrading the storm from previous installations I recommend you to delete storm-local , zookeeper data.dir and start the storm daemons again. -Harsha On Tue, Sep 2, 2014, at 08:09 AM, Telles Nobrega wrote: No, it still doesn't

Re: Supervisor always down 3s after execution

2014-09-02 Thread Harsha
added it to PATH. I am checking to see if you had any previous installation of storm and invoking the storm command from previous installation. Can you also check zookeeper logs . -Harsha On Tue, Sep 2, 2014, at 03:39 AM, Benjamin SOULAS wrote: Hi everyone, I followed your instructions

Re: REMOTE MODE STORM DEV

2014-09-02 Thread Harsha
Pavan, It would be helpful if you can post your storm.yaml. Make sure user storm has permissions to your storm installation dir. and you used the same storm config on all your machines. -Harsha On Tue, Sep 2, 2014, at 06:53 AM, Supun Kamburugamuva wrote: Hi Pavan, It seems you have

Re: Error on Supervisor start

2014-09-01 Thread Harsha
. Before using supervisord to start storm daemons it would helpful for you test out running them manually. -Harsha On Mon, Sep 1, 2014, at 08:01 AM, Telles Nobrega wrote: Hi, I installed a storm cluster in local vms that run ubuntu, following the tutorial [1]http://www.michael-noll.com/tutorials

Re: Supervisor always down 3s after execution

2014-08-29 Thread Harsha
://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html for setting up zookeeper. Here is an excellent write up on storm cluster setup along with zookeeper [2]http://www.michael-noll.com/tutorials/running-mult i-node-storm-cluster/. Hope that helps. -Harsha On Fri, Aug 29, 2014, at 05:34 AM, Benjamin

Re: Data validation

2014-08-29 Thread Harsha
of cassandra counters and how accurate they will be. -Harsha On Fri, Aug 29, 2014, at 12:15 PM, Kushan Maskey wrote: I have a batch process that runs more than 100K records of data and loads into Cassandra. I am having hard time validating the exact number of data that gets stored into C*. Now

Re: Storm not processing topology without logs

2014-08-28 Thread Harsha
Vikas, Are you able to get past this error Running the command manually on console causes Address already in use error for supervisor ports (6700,6701). Did you check if there are any processes running on that port. -Harsha On Thu, Aug 28, 2014, at 01:58 AM, Vikas Agarwal wrote: I

Re: Storm not processing topology without logs

2014-08-28 Thread Harsha
If possible can you post some logs from supervisor.log. Interested in looking at the log when your supervisor starts. -Harsha On Thu, Aug 28, 2014, at 07:29 AM, Vikas Agarwal wrote: Yes, I am through it. I have killed the processes created by main supervisor processes for 6700 and 6701

Re: supervisor not listening on port 6700?

2014-08-27 Thread Harsha
Storm 0.9.2 is tag under github repo [1]https://github.com/apache/incubator-storm/tree/v0.9.2-i ncubating. -Harsha On Tue, Aug 26, 2014, at 10:26 PM, Naga Vij wrote: Does anyone know what the git branch name is for 0.9.2 ? On Tue, Aug 26, 2014 at 10:24 PM, Naga Vij [2]nvbuc

Re: supervisor not listening on port 6700?

2014-08-27 Thread Harsha
/incubator-storm/tree/v0.9.2-incuba ting Cloning into 'v0.9.2-incubating'... fatal: repository '[3]https://github.com/apache/incubator-storm/tree/v0.9.2-incub ating/' not found On Wed, Aug 27, 2014 at 7:41 AM, Harsha [4]st...@harsha.io wrote: Storm 0.9.2 is tag under github repo [5]https

Re: supervisor not listening on port 6700?

2014-08-27 Thread Harsha
Looks like a build/release issue with storm 0.9.2. we might need to update the package there shouldn't be two versions of netty in lib dir. Can you please file a JIRA for this. Thanks, Harsha On Wed, Aug 27, 2014, at 08:54 AM, Naga Vij wrote: Got it ; Thank you! BTW, I have worked around

Re: supervisor not listening on port 6700?

2014-08-27 Thread Harsha
Taylor, I noticed its not there in the master but what about the released package. If users are installing the apache released package they might face this issue. Its has two netty jars in the lib dir. Thanks, Harsha On Wed, Aug 27, 2014, at 10:36 AM, P. Taylor Goetz wrote

Re: Location of last error details seen in storm UI

2014-08-25 Thread Harsha
Jason, Default is under your storm installation check for logs dir. -Harsha On Mon, Aug 25, 2014, at 07:54 AM, Jason Kania wrote: Thanks for the response. Unfortunately, I have no /var/log/storm on my system. Where is the path to these logs specified. I am guessing it is pointing

Re: Location of last error details seen in storm UI

2014-08-25 Thread Harsha
current version of storm doesn't have a way to define storm log dir. One way to do is to edit logback/cluster.xml under storm installation. Upcoming release will have a config option storm.log.dir to redirect the logs from default dir. -Harsha On Mon, Aug 25, 2014, at 08:16 AM, Jason Kania

Re: Create multiple supervisors on same node

2014-08-22 Thread Harsha
. -Harsha On Fri, Aug 22, 2014, at 09:20 AM, Yu, Tao wrote: Thanks Harsha! I tried your way, and here is what I have (major parts) in my storm.yaml: storm.local.dir: /opt/grid/tao/storm/storm-0.8.2/local_data/storm supervisor.slots.ports: - 6700 - 6701 1) I

Re: Reading config.priperties file

2014-08-20 Thread Harsha
Kushan, I guess its not able to find the config.properties file when you deploy the topology. How are you packaging it. One way I think of is to pass it as part of resources and where you calling properties.load() in your topology. -Harsha On Wed, Aug 20, 2014, at 02:20 PM, Kushan

Re: Storm PROD Server log folder configuration issue

2014-08-18 Thread Harsha
Hi Yiming, Looks like we only have tag for the last release. you can checkout a tag git checkout tags/[1]v0.9.2-incubating. Thanks, -Harsha On Sun, Aug 17, 2014, at 08:15 PM, Fang, Yiming wrote: Hi Harsha, Thanks a lot for the help. As long as we are working on 0.9.2. I

Re: How do i unregister from the group? Too many emails...:)

2014-08-17 Thread Harsha
you can send an email user-unsubscr...@storm.incubator.apache.org to unsubscribe. more info https://storm.incubator.apache.org/community.html On Sun, Aug 17, 2014, at 10:58 AM, Joe Roberts wrote: user@storm.incubator.apache.org Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0)

Re: Storm PROD Server log folder configuration issue

2014-08-15 Thread Harsha
-8a8d97993ededcb27c19504b9e88 9e6f . From 0.9.3 users can define STORM_LOG_DIR and all the logs will be in that location. By default this would be under STORM_HOME/logs. -Harsha On Fri, Aug 15, 2014, at 08:32 AM, Fang, Yiming wrote: Hi All, I am currently working on a PROD server setup task

Re: Storm Connection Refused

2014-08-07 Thread Harsha
Hi Chandrahas, Can you provide with bit more details on how is you cluster looks like or its a single host . I am deploying the jar on 6627 port and i have kept it open. are you using storm jar command or doing it through thrift api. -Harsha On Thu, Aug 7, 2014, at 08:24 PM

Re: java.io.InvalidClassException: backtype.storm.daemon.common.WorkerHeartbeat

2014-08-07 Thread Harsha
node. If you are upgrading clear storm-local and zookeeper data and restart the daemons. If it persists I'll try clearing storm-local and zookeeper data. -Harsha On Thu, Aug 7, 2014, at 08:58 PM, Shun KAWAHARA wrote: Hello. I started Storm by the following constitution. server1: nimbus

Re: file not found exception in storm -jms

2014-08-05 Thread Harsha
Hi Siva, Are you packaging all the required classes into a jar and submitting using storm jar your_jar_file.jar HdfsFileTopology. From that error it looks like your jar file didn't contain the class. -Harsha On Tue, Aug 5, 2014, at 01:47 AM, siva kumar wrote: hi, Im trying

Re: Bolt vs Spout

2014-07-29 Thread Harsha
create a Properties object with metadata.broker.list and pass a comma separated strings. -Harsha On Tue, Jul 29, 2014, at 05:11 AM, Adrian Landman wrote: I feel like you missed the issue in my question. For the connection string for ZkHosts, if I pass in localhost:9092 with a default kafka

Re: KafkaSpout showing lots of errors

2014-07-26 Thread Harsha
Hi Anuj, can you also send the errors what you are seeing in UI and also in logs. Are you seeing new messages inserted into your kafka topics just to make sure there aren't issues with your kafka . -Harsha On Sat, Jul 26, 2014, at 05:47 AM, Anuj Agrawal wrote: I am running 4

Re: KafkaSpout showing lots of errors

2014-07-26 Thread Harsha
that are reading from kafka and these topologies are reading from different topics and/or have their own unique consumerid + topicids. On Sat, Jul 26, 2014, at 11:16 AM, Anuj Agrawal wrote: Hi Harsha, I don't see any errors in UI or logs. I just see failure counts increasing. See screenshot

Re: KafkaSpout offsets

2014-07-24 Thread Harsha
: set forceFromStart = true Start at the last (newest) message on the topic : ? Start at the last saved offset : Don't change the config defaults Start at an explicit offset: ? (I don't envision needing to use this, but just in case) On Thu, Jul 24, 2014 at 1:40 PM, Harsha [3]st...@harsha.io

Re: storm upgrade issue

2014-07-17 Thread Harsha
Does your worker node also have the same storm version installed make sure your older STORM_HOME is not in PATH. On Thu, Jul 17, 2014, at 06:39 PM, 唐思成 wrote: the step i took listed below 1. kill -9 all storm process 2. remove storm directory on zookeeper 3. change storm local dir 4.

Re: Storm not working in local mode

2014-07-16 Thread Harsha
Rushabh, Looks to be ipv6 issue. Can you try passing -Djava.net.preferIPv4Stack=true. -Harsha On Wed, Jul 16, 2014, at 04:36 PM, Rushabh Shah wrote: Hi , I upgraded Storm to the latest 0.9.2-incubating and I see that my topology does not start in local mode. It does however

Re: writing huge amount of data to HDFS

2014-07-12 Thread Harsha
to batch up hbase reads. -Harsha On Sat, Jul 12, 2014, at 12:33 AM, Chen Wang wrote: Thanks Harsha. My spout is listening to a kafka queue which contains the es query from user's input. Is it safe to spawn a thread in the spout and do the ES query directly in the spout? What is the fundamental

Re: Storm UI

2014-07-11 Thread Harsha
Storm UI provides metrics about topologies on the cluster and no.of tuples emitted, transferred and any last known errors etc.. you can start storm ui by running STORM_HOME/bin/storm ui which runs daemon at port 8080. If you hover over the table headers in Storm UI it will show you a text

Re: b.s.m.n.Client [INFO] Reconnect

2014-07-10 Thread Harsha
Hi Suparno, It might be because of [1]https://issues.apache.org/jira/browse/STORM-187. Can you try using 0.9.2-incubating release. -Harsha On Thu, Jul 10, 2014, at 07:38 AM, Suparno Datta wrote: Hi, I am using storm 0.9.1-incubating on a single machine cluster to run a simple

Re: b.s.m.n.Client [INFO] Reconnect

2014-07-10 Thread Harsha
just have to chuck the 0.9.1 and get back to 0.8.1 On 10 July 2014 17:02, Harsha [3]st...@harsha.io wrote: Hi Suparno, It might be because of [4]https://issues.apache.org/jira/browse/STORM-187. Can you try using 0.9.2-incubating release. -Harsha On Thu, Jul 10, 2014, at 07:38 AM

Re: b.s.m.n.Client [INFO] Reconnect

2014-07-10 Thread Harsha
to zmq from netty? Just wanted to check that once before going down to 0.8.1. On 10 July 2014 18:46, Suparno Datta [2]suparno.da...@gmail.com wrote: @Stephan, Worked like a charm. How stupid of me not to change the local directory. @Harsha. Didnt solve the original problem :( . Now getting

Re: error building storm on mac

2014-06-18 Thread Harsha
Alec, That link talks about older version of storm. You can get the latest code from here [1]github.com/apache/incubator-storm. Storm switched maven for building , you can run mvn clean package under latest storm dir to build . -Harsha. On Wed, Jun 18, 2014, at 03:13 PM, Sa Li wrote

Re: error building storm on mac

2014-06-18 Thread Harsha
Yes. you can grab the release packages and install. On Wed, Jun 18, 2014, at 04:38 PM, Sa Li wrote: Thanks, Harsha, I assume I could download the release version on my mac, say storm-0.9.0.1 which contains the jars in root directory, therefore I do not have to build, is it correct

Re: FileNotFound: heartbeats (too many open files)

2014-06-10 Thread Harsha
It could be related to ulimit on your machines. A good number to start around is 65000 for ulimit. On Tue, Jun 10, 2014, at 10:40 AM, Sean Allen wrote: On a 0.9.0.1 cluster. Everything was fine until last week. No changes were made and we now regularly have nodes dying where we end up with

Re: [VOTE] Storm Logo Contest - Final Round

2014-06-09 Thread Harsha
#9 - 5 points. On Mon, Jun 9, 2014, at 11:38 AM, P. Taylor Goetz wrote: This is a call to vote on selecting the winning Storm logo from the 3 finalists. The three candidates are: * [No. 6 - Alec Bartos]([1]http://storm.incubator.apache.org/2014/04/23/logo-abartos.ht ml) * [No. 9 -

Re: Overriding execute method in ShellBolt

2014-06-08 Thread Harsha
://nathanmarz.github.io/storm/doc/backtype/storm/ut ils/ShellProcess.html. -Harsha On Sat, Jun 7, 2014, at 09:31 PM, adiya n wrote: I tried out ShellBolt examples and it works like a charm. I went through the multi-lang protocol doc as well and understand it at a high level. Now what I dont

Re: Topology acked/emitted count reset

2014-06-02 Thread Harsha
and bolts there is no stats kept track for topology itself. So if a worker / supervisor died and restarted on another node stats for that supervisor/workers are lost. Thanks, Harsha On Mon, Jun 2, 2014, at 07:07 PM, Andrew Montalenti wrote: Attached you'll find two screenshots from the Storm UI

Re: Explicitly Fail Tuple for Replay?

2014-05-31 Thread Harsha
Phil, You can do collector.fail(tuple) [1]http://storm.incubator.apache.org/apidocs/backtype/storm/task/Output Collector.html#fail%28backtype.storm.tuple.Tuple%29 -Harsha On Sat, May 31, 2014, at 04:57 AM, Phil Burress wrote: Is there a way to explicitly fail a tuple for replay

Re: Fwd: Running word count in Local cluster using Apache Storm

2014-05-30 Thread Harsha
-Dexec.args=src/main/resources/words.txt If you see java.lang.ClassNotFoundException: TopologyMain build the package by mvn clean package. -Harsha On Fri, May 30, 2014, at 05:20 AM, Neil Shah wrote: Hi, I am following book Getting started with Storm [2]http://my.safaribooksonline.com

Re: Fwd: Running word count in Local cluster using Apache Storm

2014-05-30 Thread Harsha
-280?filter=-2. -Harsha. On Fri, May 30, 2014, at 07:12 AM, Neil Shah wrote: Hi, Thanks for the input. I did run the command as suggested. I get below exception. I am running command as administrator using Windows 7. A separate question - Does Storm 0.7.1 which is written in original POm file

Re: Fwd: Running word count in Local cluster using Apache Storm

2014-05-30 Thread Harsha
://cwiki.apache.org/confluence/display/MAVEN/PluginParam ete rException Thanks, Neil Shah On Fri, May 30, 2014 at 10:32 PM, Harsha [2]st...@harsha.io wrote: From the logs it seems to me the issue is with zookeeper not releasing lock on log files and storm trying to cleanup the logs. Its a known issue

Re: Accessing taskid of a bolt in python

2014-05-26 Thread Harsha
Looks like its a bug [1]https://issues.apache.org/jira/browse/STORM-66 There is a patch available. Thanks, Harsha On Mon, May 26, 2014, at 03:41 PM, Dilpreet Singh wrote: Hi, I've initialized the bolt like this: def initialize(self, stormconf, context): self.stormconf

Re: Nimbus UI fields

2014-05-20 Thread Harsha
Executed refers to number of incoming tuples processed. capacity is determined by (executed * latency) / window (time duration). UI should give you description of those stats if you hover over table headers. On Tue, May 20, 2014, at 03:36 PM, Raphael Hsieh wrote: I reattached the

Re: unable to install/test incubator-storm/examples missing dependencies

2014-05-14 Thread Harsha
incase if you haven't done already can you do mvn clean install under storm-starter. -Harsha On Mon, May 12, 2014, at 11:52 AM, Thomas Puthiaparambil wrote: I get the following error [root@localhost storm-starter]# mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology

Re: getting no class def fpund error when trying to run test storm locally

2014-04-15 Thread Harsha
David, looks like that article is old. Follow these instructions for running storm on windows. [1]http://ptgoetz.github.io/blog/2013/12/18/running-apache-storm-on-win dows/ -Harsha On Tue, Apr 15, 2014, at 06:57 AM, David Novogrodsky wrote: First, thanks for your help. This list