You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "daishi (JIRA)" <ji...@apache.org> on 2009/05/07 23:24:45 UTC

[jira] Created: (CASSANDRA-155) SSTable dataFile not in indexMetadataMap?

SSTable dataFile not in indexMetadataMap?
-----------------------------------------

                 Key: CASSANDRA-155
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-155
             Project: Cassandra
          Issue Type: Bug
         Environment: latest svn
            Reporter: daishi


Is it possible for SSTable.indexMetadataMap_ to not contain all possible this.dataFile_s?

I am seeing the following exception:

---
Caused by: java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at org.apache.cassandra.io.SSTable.closeRename(SSTable.java:808)
        at org.apache.cassandra.db.Memtable.flush(Memtable.java:360)
        at org.apache.cassandra.db.MemtableManager$MemtableFlusher.run(MemtableManager.java:76)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
---

Looking at the code I imagine what is happening is that keyPositionInfos is null
because tmpDataFile (= dataFile_) doesn't exist in SSTable.indexMetadataMap_,
but I haven't explicitly verified this.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-155) SSTable dataFile not in indexMetadataMap?

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-155.
--------------------------------------

    Resolution: Invalid
      Assignee: Jonathan Ellis

already fixed :)

> SSTable dataFile not in indexMetadataMap?
> -----------------------------------------
>
>                 Key: CASSANDRA-155
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-155
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: latest svn
>            Reporter: daishi
>            Assignee: Jonathan Ellis
>
> Is it possible for SSTable.indexMetadataMap_ to not contain all possible this.dataFile_s?
> I am seeing the following exception:
> ---
> Caused by: java.lang.NullPointerException
>         at java.util.Hashtable.put(Hashtable.java:394)
>         at org.apache.cassandra.io.SSTable.closeRename(SSTable.java:808)
>         at org.apache.cassandra.db.Memtable.flush(Memtable.java:360)
>         at org.apache.cassandra.db.MemtableManager$MemtableFlusher.run(MemtableManager.java:76)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> ---
> Looking at the code I imagine what is happening is that keyPositionInfos is null
> because tmpDataFile (= dataFile_) doesn't exist in SSTable.indexMetadataMap_,
> but I haven't explicitly verified this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.