cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Coverston (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3015) Inter-Node Compression
Date Fri, 12 Aug 2011 19:50:27 GMT

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

Benjamin Coverston updated CASSANDRA-3015:
------------------------------------------

    Attachment: 0001-stream-based-compression.patch

Simple patch, should be straight forward, but it's throwing an exception on one of the tests.

StreamingTransferTest.testTransferMultiple with:

java.lang.IndexOutOfBoundsException
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:75)
    at org.xerial.snappy.SnappyInputStream.hasNextChunk(SnappyInputStream.java:143)
    at org.xerial.snappy.SnappyInputStream.read(SnappyInputStream.java:171)
    at java.io.DataInputStream.readByte(DataInputStream.java:248)
    at org.apache.cassandra.utils.BytesReadTracker.readByte(BytesReadTracker.java:61)
    at org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:357)
    at org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:368)
    at org.apache.cassandra.streaming.IncomingStreamReader.streamIn(IncomingStreamReader.java:122)
    at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:86)
    at org.apache.cassandra.net.IncomingTcpConnection.stream(IncomingTcpConnection.java:173)
    at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:75) 

> Inter-Node Compression
> ----------------------
>
>                 Key: CASSANDRA-3015
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3015
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benjamin Coverston
>            Assignee: Benjamin Coverston
>         Attachments: 0001-stream-based-compression.patch
>
>
> Although we have CASSANDRA-47 for on-disk the code used for streaming actually sends
un-compressed blocks over the wire. I propose we compress this data.

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

        

Mime
View raw message