You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2013/09/19 22:23:52 UTC

[jira] [Commented] (CASSANDRA-6067) Use non-pooling readers with openForBatch

    [ https://issues.apache.org/jira/browse/CASSANDRA-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772253#comment-13772253 ] 

Yuki Morishita commented on CASSANDRA-6067:
-------------------------------------------

BufferedSegmentedFile extends PoolingSegmentedFile. Still seeing the following error when bulk load:

{code}
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.apache.cassandra.io.util.PoolingSegmentedFile.getSegment(PoolingSegmentedFile.java:36)
	at org.apache.cassandra.io.util.SegmentedFile$SegmentIterator.next(SegmentedFile.java:161)
	at org.apache.cassandra.io.util.SegmentedFile$SegmentIterator.next(SegmentedFile.java:142)
	at org.apache.cassandra.io.sstable.SSTableReader.getPosition(SSTableReader.java:904)
	at org.apache.cassandra.io.sstable.SSTableReader.getPosition(SSTableReader.java:839)
	at org.apache.cassandra.io.sstable.SSTableReader.getPositionsForRanges(SSTableReader.java:751)
	at org.apache.cassandra.io.sstable.SSTableLoader$1.accept(SSTableLoader.java:122)
	at java.io.File.list(File.java:1087)
	at org.apache.cassandra.io.sstable.SSTableLoader.openSSTables(SSTableLoader.java:73)
	at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:155)
	at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:66)
Caused by: java.lang.NullPointerException
	at org.apache.cassandra.config.DatabaseDescriptor.getFileCacheSizeInMB(DatabaseDescriptor.java:1145)
	at org.apache.cassandra.service.FileCacheService.<clinit>(FileCacheService.java:41)
	... 11 more
{code}
                
> Use non-pooling readers with openForBatch
> -----------------------------------------
>
>                 Key: CASSANDRA-6067
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6067
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: 6067.txt
>
>
> Looks like CASSANDRA-5555 was incorrectly merged forward.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira