O.K. It looks like everything is working now. I saw data being
emitted and what not in the ExclamationTopology and my code is showing
data being emitted and acked. I'm still a bit confused here because
there are 10 lines in each file, so I'm expecting to see 33 records
emitted by my spout (I also send an EOF marker), however I'm seeing 40
records being emitted. Then, on the bolt side, I only see 20 acks.
Is this normal?
As for what I did to get this working, here are a couple things that
may/may not have made a difference:
- For the zookeeper directory, I had a trailing slash before and
noticed that it put a double-slash in the path the supervisor was
trying to download the jar from, so I removed it.
- For some reason, zookeeper and storm both tried to use IPv6 vs.
IPv4, so I modified the associated scripts to force java to use IPv4.
I think this made a difference as I reset my nimbus host configuration
variable back to localhost (I tried an IP address at one point in
time) and everything started working. Granted, this may not be
common, but I figured it was worth mentioning in case someone else
runs into this. I also don't know the "correct" way of resolving this
issue without changing the storm script and the zkServer script, so I
won't detail what I did except to mention this flag: -
Djava.net.preferIPv4Stack=true
Casey