You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/01/15 06:44:45 UTC

[jira] Created: (CASSANDRA-1989) Cannot parse generation after restart

Cannot parse generation after restart
-------------------------------------

                 Key: CASSANDRA-1989
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8
            Reporter: Stu Hood
            Assignee: T Jake Luciani
             Fix For: 0.8


Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
{code}java.lang.UnsupportedOperationException
        at java.nio.ByteBuffer.array(ByteBuffer.java:940)
        at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
        at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
        at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
        at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}


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


[jira] Commented: (CASSANDRA-1989) Cannot parse generation after restart

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982110#action_12982110 ] 

Pavel Yaskevich commented on CASSANDRA-1989:
--------------------------------------------

I have added patch (CASSANDRA-1714-additions-to-trunk.patch) to CASSANDRA-1714 which will fix this for trunk, cassandra-0.7 branch does not have this issue.

> Cannot parse generation after restart
> -------------------------------------
>
>                 Key: CASSANDRA-1989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.1
>
>
> Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
> {code}java.lang.UnsupportedOperationException
>         at java.nio.ByteBuffer.array(ByteBuffer.java:940)
>         at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
>         at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
>         at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}

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


[jira] Updated: (CASSANDRA-1989) Cannot parse generation after restart

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

Jonathan Ellis updated CASSANDRA-1989:
--------------------------------------

    Affects Version/s:     (was: 0.8)
                       0.7.1
        Fix Version/s:     (was: 0.8)
                       0.7.1
             Assignee: Pavel Yaskevich  (was: T Jake Luciani)

> Cannot parse generation after restart
> -------------------------------------
>
>                 Key: CASSANDRA-1989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.1
>
>
> Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
> {code}java.lang.UnsupportedOperationException
>         at java.nio.ByteBuffer.array(ByteBuffer.java:940)
>         at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
>         at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
>         at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}

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


[jira] Updated: (CASSANDRA-1989) Cannot parse generation after restart

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

Jonathan Ellis updated CASSANDRA-1989:
--------------------------------------

     Affects Version/s:     (was: 0.7.1)
                        0.8
         Fix Version/s:     (was: 0.7.1)
                        0.8
    Remaining Estimate: 2h
     Original Estimate: 2h

committed patch attached to CASSANDRA-1714

> Cannot parse generation after restart
> -------------------------------------
>
>                 Key: CASSANDRA-1989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
> {code}java.lang.UnsupportedOperationException
>         at java.nio.ByteBuffer.array(ByteBuffer.java:940)
>         at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
>         at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
>         at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}

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


[jira] Resolved: (CASSANDRA-1989) Cannot parse generation after restart

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

Jonathan Ellis resolved CASSANDRA-1989.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis

> Cannot parse generation after restart
> -------------------------------------
>
>                 Key: CASSANDRA-1989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
> {code}java.lang.UnsupportedOperationException
>         at java.nio.ByteBuffer.array(ByteBuffer.java:940)
>         at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
>         at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
>         at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}

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


[jira] Commented: (CASSANDRA-1989) Cannot parse generation after restart

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982121#action_12982121 ] 

Hudson commented on CASSANDRA-1989:
-----------------------------------

Integrated in Cassandra #672 (See [https://hudson.apache.org/hudson/job/Cassandra/672/])
    fix use of direct buffers from CASSANDRA-1714
patch by Pavel Yaskevich; reviewed by jbellis for CASSANDRA-1989


> Cannot parse generation after restart
> -------------------------------------
>
>                 Key: CASSANDRA-1989
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1989
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Stu Hood
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Looks like CASSANDRA-1714 broke some parsing of the generation on some restarts: haven't tracked it down yet, but this is likely to be obvious for someone who worked on that issue.
> {code}java.lang.UnsupportedOperationException
>         at java.nio.ByteBuffer.array(ByteBuffer.java:940)
>         at org.apache.cassandra.utils.FBUtilities.byteBufferToInt(FBUtilities.java:212)
>         at org.apache.cassandra.db.SystemTable.incrementAndGetGeneration(SystemTable.java:286)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:356)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:184)
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:54)
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:240)
>         at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:133){code}

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