I was wondering what ports I should open up with the AWS security group for
Apache Storm 0.10.0.
I opened up the typical ports: TCP 6700, 6701, 6702, 6703
But when when I check on the supervisor process, I only see it listening on
UDP 57944.
$ sudo netstat -tuap | grep $(ps ax | grep backtype.storm | grep -v grep |
awk '{ print $1}')
tcp 0 0 ip-10-110-20-11.u:40999 ip-10-110-20-8.us-:2181
ESTABLISHED 10468/java
udp 0 0 *:57944
*:* 10468/java
I did setup in my storm.yaml...
supervisor.childopts: "-Djava.net.preferIPv4Stack=true"
worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
--
是故勝兵先勝而後求戰,敗兵先戰而後求勝。