incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Frank Cooper <coop...@yahoo-inc.com>
Subject Server cannot startup after shutdown
Date Thu, 20 Aug 2009 02:12:43 GMT
Hi folks,

I'm using 0.4 beta1 and had six servers loaded with 20 GB of data per server. (In this test,
10 KB per record, and 2 GB heap space allocated to the JVM.) I stopped the servers (using
what I think is the recommended method, the kill command). Upon trying to restart, some servers
threw a UTFDataFormatException, while others threw an OutOfMemoryError exception. None of
them started.

Is this a known issue?

ERROR - Fatal exception in thread Thread[main,5,main]
java.lang.OutOfMemoryError: Java heap space
        at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:274)
        at org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:63)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:96)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:171)

ERROR - Exception encountered during startup.
java.io.UTFDataFormatException: malformed input around byte 5497
        at java.io.DataInputStream.readUTF(DataInputStream.java:639)
        at java.io.DataInputStream.readUTF(DataInputStream.java:547)
        at org.apache.cassandra.db.RowSerializer.deserialize(Row.java:218)
        at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:285)
        at org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:63)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:96)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:171)
Exception encountered during startup.
java.io.UTFDataFormatException: malformed input around byte 5497
        at java.io.DataInputStream.readUTF(DataInputStream.java:639)
        at java.io.DataInputStream.readUTF(DataInputStream.java:547)
        at org.apache.cassandra.db.RowSerializer.deserialize(Row.java:218)
        at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:285)
        at org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:63)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:96)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:171)

Thanks for the help!

Brian
Mime
View raw message