And one more clue here, when ReplicateFactor is 1, it's OK, after changed to 2, the exception occurred.
On Sun, Mar 28, 2010 at 9:46 AM, Eric Yu <suc...@gmail.com> wrote: > Hi Jonathan, > > I upgraded my jdk to latest version, and I am sure I start Cassandra with > it (set JAVA_HOME in cassansra.in.sh). > But the exception still there, any idea? > > On Sun, Mar 28, 2010 at 12:02 AM, Jonathan Ellis <jbel...@gmail.com>wrote: > >> This means you need to upgrade your jdk to build 18 or later >> >> On Sat, Mar 27, 2010 at 10:55 AM, Eric Yu <suc...@gmail.com> wrote: >> > Hi, list >> > I got this exception when insert into a cluster with 5 node, is this a >> bug >> > or something else is wrong. >> > >> > here is the system log: >> > >> > INFO [GMFD:1] 2010-03-27 23:15:16,145 Gossiper.java (line 543) >> InetAddress >> > /172.19.15.210 is now UP >> > ERROR [Timer-1] 2010-03-27 23:23:27,739 TcpConnection.java (line 308) >> > Closing down connection java.nio.channels.SocketChannel[connected >> > local=/172.19.15.209:58261 remote=/172.19.15.210:7000] with 342218 >> writes >> > remaining. >> > INFO [Timer-1] 2010-03-27 23:23:27,792 Gossiper.java (line 194) >> InetAddress >> > /172.19.15.210 is now dead. >> > INFO [GMFD:1] 2010-03-27 23:23:32,214 Gossiper.java (line 543) >> InetAddress >> > /172.19.15.210 is now UP >> > ERROR [Timer-1] 2010-03-27 23:24:47,846 TcpConnection.java (line 308) >> > Closing down connection java.nio.channels.SocketChannel[connected >> > local=/172.19.15.209:59801 remote=/172.19.15.210:7000] with 256285 >> writes >> > remaining. >> > INFO [Timer-1] 2010-03-27 23:24:47,846 Gossiper.java (line 194) >> InetAddress >> > /172.19.15.210 is now dead. >> > WARN [MESSAGING-SERVICE-POOL:1] 2010-03-27 23:25:05,580 >> TcpConnection.java >> > (line 484) Problem reading from socket connected to : >> > java.nio.channels.SocketChannel[connected local=/172.19.15.209:7000 >> > remote=/172.19.15.210:55473] >> > INFO [GMFD:1] 2010-03-27 23:25:05,580 Gossiper.java (line 543) >> InetAddress >> > /172.19.15.210 is now UP >> > WARN [MESSAGING-SERVICE-POOL:2] 2010-03-27 23:25:05,580 >> TcpConnection.java >> > (line 484) Problem reading from socket connected to : >> > java.nio.channels.SocketChannel[connected local=/172.19.15.209:7000 >> > remote=/172.19.15.210:45504] >> > WARN [MESSAGING-SERVICE-POOL:2] 2010-03-27 23:25:05,580 >> TcpConnection.java >> > (line 485) Exception was generated at : 03/27/2010 23:25:05 on thread >> > MESSAGING-SERVICE-POOL:2 >> > Reached an EOL or something bizzare occured. Reading from: / >> 172.19.15.210 >> > BufferSizeRemaining: 16 >> > java.io.IOException: Reached an EOL or something bizzare occured. >> Reading >> > from: /172.19.15.210 BufferSizeRemaining: 16 >> > at >> org.apache.cassandra.net.io.StartState.doRead(StartState.java:44) >> > at >> > org.apache.cassandra.net.io.ProtocolState.read(ProtocolState.java:39) >> > at org.apache.cassandra.net.io.TcpReader.read(TcpReader.java:95) >> > at >> > >> org.apache.cassandra.net.TcpConnection$ReadWorkItem.run(TcpConnection.java:445) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >> > at java.lang.Thread.run(Thread.java:636) >> > >> > INFO [MESSAGING-SERVICE-POOL:2] 2010-03-27 23:25:05,580 >> TcpConnection.java >> > (line 315) Closing errored connection >> > java.nio.channels.SocketChannel[connected local=/172.19.15.209:7000 >> > remote=/172.19.15.210:45504] >> > WARN [MESSAGING-SERVICE-POOL:1] 2010-03-27 23:25:05,632 >> TcpConnection.java >> > (line 485) Exception was generated at : 03/27/2010 23:25:05 on thread >> > MESSAGING-SERVICE-POOL:1 >> > >> > >