cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spencer Brown <lilspe...@gmail.com>
Subject Re: java exception on startup
Date Sun, 11 Jan 2015 07:04:40 GMT
We don't use thrift clients anymore, so it doesn't matter so much.  But
it's trying to read a file that doesn't exist or had bad perms.  You'd have
to get the source for the cassandra files anyway and try to figure out what
file it's looking for.  Probably some datafile that gets populated by
thrift, so that wouldn't exist.

On Sat, Jan 10, 2015 at 11:16 PM, Tim Dunphy <bluethundr@gmail.com> wrote:

> Hey guys,
>
>  I'm noticing this exception appearing when I start cassandra 2.1.2 in the
> foreground:
>
> INFO  04:12:29 Listening for thrift clients...
>         at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
> ~[guava-16.0.jar:na]
>         at
> org.apache.cassandra.io.sstable.SSTableScanner.hasNext(SSTableScanner.java:183)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:146)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.MergeIterator$ManyToOne.<init>(MergeIterator.java:89)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.MergeIterator.get(MergeIterator.java:48)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.db.compaction.CompactionIterable.iterator(CompactionIterable.java:47)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:154)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:232)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> ~[na:1.8.0_05]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> ~[na:1.8.0_05]
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> ~[na:1.8.0_05]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_05]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05]
> Caused by: java.io.EOFException: null
>         at java.io.RandomAccessFile.readFully(RandomAccessFile.java:410)
> ~[na:1.8.0_05]
>         at java.io.RandomAccessFile.readFully(RandomAccessFile.java:388)
> ~[na:1.8.0_05]
>         at
> org.apache.cassandra.io.util.RandomAccessReader.readBytes(RandomAccessReader.java:351)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:348)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:327)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         at
> org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.computeNext(SSTableScanner.java:263)
> ~[apache-cassandra-2.1.1.jar:2.1.1]
>         ... 19 common frames omitted
>
> I'm not noticing an problems in running the website that uses this
> cassandra database. But I'm wondering if anyone can identify the meaning of
> this exception, and how to correct it. If necessary and it's not innocuous.
>
> Thanks!
> Tim
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
>

Mime
View raw message