Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7756

NullPointerException in getTotalBufferSize

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      18:59:50.499 [SharedPool-Worker-1] WARN o.apache.cassandra.io.util.FileUtils - Failed closing /xxx/cassandra/data/pr1407782307/trigramindexcounter-d2817030218611e4b65c619763d48c52/pr1407782307-trigramindexcounter-ka-1-Data.db - chunk length 65536, data length 8199819.
      java.lang.NullPointerException: null
      at org.apache.cassandra.io.util.RandomAccessReader.getTotalBufferSize(RandomAccessReader.java:157) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.io.compress.CompressedRandomAccessReader.getTotalBufferSize(CompressedRandomAccessReader.java:159) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.service.FileCacheService.sizeInBytes(FileCacheService.java:186) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.service.FileCacheService.put(FileCacheService.java:150) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.io.util.PoolingSegmentedFile.recycle(PoolingSegmentedFile.java:50) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.io.util.RandomAccessReader.close(RandomAccessReader.java:230) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.io.util.FileUtils.closeQuietly(FileUtils.java:222) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.columniterator.SSTableNamesIterator.<init>(SSTableNamesIterator.java:69) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.filter.NamesQueryFilter.getSSTableColumnIterator(NamesQueryFilter.java:89) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:261) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:59) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1873) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1681) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.Keyspace.getRow(Keyspace.java:345) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:55) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CounterMutation.getCurrentValuesFromCFS(CounterMutation.java:274) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CounterMutation.getCurrentValues(CounterMutation.java:241) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CounterMutation.processModifications(CounterMutation.java:209) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.db.CounterMutation.apply(CounterMutation.java:136) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.service.StorageProxy$8.runMayThrow(StorageProxy.java:1116) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2065) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_65]
      at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:163) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:103) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]

        Attachments

        1. 7756-v2.txt
          4 kB
          T Jake Luciani
        2. 7756-2.1.txt
          0.9 kB
          T Jake Luciani
        3. 7756-2.0.txt
          0.8 kB
          T Jake Luciani

          Issue Links

            Activity

              People

              • Assignee:
                tjake T Jake Luciani
                Reporter:
                shalupov Leonid Shalupov
                Authors:
                T Jake Luciani
                Reviewers:
                Jonathan Ellis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: