incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JiHyoun Park <>
Subject Running S4 nodes on multiple machines - error
Date Fri, 22 Jun 2012 07:36:33 GMT

I am testing 'Running S4 nodes on multiple machines'.

I have 2 hosts: s4test1 and s4test2.
According to the guide, I configured my clusters.xml and started an S4
node on s4test2 and an S4 node, the adapter and the Twitter feed
listener on s4test1.

For the s4test1, everything is fine.
[root@s4test1 redbutton-multi]# find $S4_IMAGE/s4-core/logs/s4-core
-name "s4-core_*.log" -print -exec sh -c 'grep -i "count by" {} | tail
-4' \;
2012-06-22 15:27:16,792 s4 INFO ( Count by
TopicSeen topic: 3420
2012-06-22 15:27:26,796 s4 INFO ( Count by
RawStatus : 37052
2012-06-22 15:27:26,797 s4 INFO ( Count by
AggregatedTopicSeen : 19157
2012-06-22 15:27:26,797 s4 INFO ( Count by
TopicSeen topic: 3438

However, for the s4test2, I couldn't get any result using the above
command. So, I looked into the log file.
2012-06-22 15:15:43,406 org.apache.zookeeper.ClientCnxn INFO (
00) Opening socket connection to server localhost/
2012-06-22 15:15:43,406 org.apache.zookeeper.ClientCnxn WARN (
20) Session 0x0 for server null, unexpected error, closing socket connection and
 attempting reconnect Connection refused
        at Method)
        at org.apache.zookeeper.ClientCnxn$

Yesterday, I tried to test 'Running S4 with Zookeeper' but failed.
Thus, I decided to test 'Running S4 on multiple machines without
Zookeeper' first. But I think maybe something got corrupted.

The file of s4test2 is as follows.
[root@s4test2 redbutton-multi]# cat
gc_opts=-server -XX:+HeapDumpOnOutOfMemoryError
-XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit
mem_opts=-Xms800m -Xmx2000m

What should I do?

Best Regards

View raw message