cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10132) sstablerepairedset throws exception while loading metadata
Date Wed, 19 Aug 2015 19:46:45 GMT
Yuki Morishita created CASSANDRA-10132:
------------------------------------------

             Summary: sstablerepairedset throws exception while loading metadata
                 Key: CASSANDRA-10132
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10132
             Project: Cassandra
          Issue Type: Bug
            Reporter: Yuki Morishita
            Assignee: Yuki Morishita
             Fix For: 3.0.0 rc1


{{sstablerepairedset}} displays exception trying to load schema through DatabaseDescriptor.

{code}
11:54:47.633 [main] DEBUG o.a.c.i.s.m.MetadataSerializer - Load metadata for /tmp/dtest-m5aJsz/test/node2/data/keyspace1/standard1-bcad849046a311e5a62251843b245f21/ma-1-big
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:123)
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:110)
        at org.apache.cassandra.utils.memory.BufferPool.<clinit>(BufferPool.java:51)
        at org.apache.cassandra.io.util.RandomAccessReader.allocateBuffer(RandomAccessReader.java:76)
        at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
        at org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithChannel.<init>(RandomAccessReader.java:89)
        at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:108)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:91)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateRepairedAt(MetadataSerializer.java:143)
        at org.apache.cassandra.tools.SSTableRepairedAtSetter.main(SSTableRepairedAtSetter.java:86)
{code}

MetadataSerializer uses RandomAccessReader which allocates buffer through BufferPool. BufferPool
gets its settings from DatabaseDescriptor and it won't work in offline tool.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message