[ 
https://issues.apache.org/jira/browse/CASSANDRA-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Yaskevich updated CASSANDRA-3183:
---------------------------------------

    Attachment: 3183-additions.patch

Ok, additions to fix broken CreateColumnFamilyStatement in CQL

and here is a problem I have discovered in your patch running `ant test 
-Dtest.name=CliTest`

{noformat}
    [junit] Testcase: testCli(org.apache.cassandra.cli.CliTest):        Caused 
an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:209)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:322)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:292)
    [junit]     at org.apache.cassandra.db.Table.initCf(Table.java:372)
    [junit]     at org.apache.cassandra.db.Table.<init>(Table.java:320)
    [junit]     at org.apache.cassandra.db.Table.open(Table.java:121)
    [junit]     at org.apache.cassandra.db.Table.open(Table.java:104)
    [junit]     at 
org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:217)
    [junit]     at 
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:148)
    [junit]     at 
org.apache.cassandra.service.AbstractCassandraDaemon.init(AbstractCassandraDaemon.java:236)
    [junit]     at 
org.apache.cassandra.service.EmbeddedCassandraService.start(EmbeddedCassandraService.java:56)
    [junit]     at org.apache.cassandra.cli.CliTest.testCli(CliTest.java:211)
{noformat}

> Make SerializingCacheProvider the default if JNA is available
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-3183
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3183
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3183-additions.patch, 3183-alt.patch, 3183.txt
>
>
> The serializing cache is a better choice for most users:
> - Lower total memory usage (serialized data is usually 8x-12x smaller than 
> "live" data in the JVM with all the overhead that involves) means you can 
> cache more rows for a given memory footprint
> - Moving the serialized rows off-heap means you can use smaller heaps, 
> reducing the impact of GC pauses

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to