Bug 956928 - Set up snappy-java build in brew
Summary: Set up snappy-java build in brew
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Build System
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: JON 3.2.0
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-04-26 02:51 UTC by John Sanda
Modified: 2013-08-09 14:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-09 14:17:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description John Sanda 2013-04-26 02:51:07 UTC
Description of problem:
Cassandra has a dependency on the snappy-java library. We are using a patched version to work around some class loading issues. Setting up the build may be rather involved as will be similar to what has done for Sigar. The snappy-java library packages a native library that it accesses through JNI. We may have to build that library for all JON-supported platforms. 

We might be able to get by without building the native snappy code. I say this because is fully functional even running on a platform where the native code cannot be loaded for whatever reason. But we will have to build the Java code as it is a required runtime dependency for Cassandra. Cassandra will fail to start without snappy-java on the classpath.

Instructions for building snappy-java can be found at https://github.com/xerial/snappy-java.

The patched version we are using is https://github.com/jsanda/snappy-java/tree/1.0.5-M3.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 John Sanda 2013-04-28 20:46:53 UTC
Some additional info...

Cassandra uses compression in several places. The SSTable files on disk are compressed by default. Compression can be used with gossip. And the CQL binary protocol supports compression as well. 

By default sstable compression uses snappy. Cassandra also provides out of the box support for Java zip and LZ4 compression using https://github.com/jpountz/lz4-java. Compression can also be disabled for SSTables, gossip, and the CQL transport layer.

Comment 2 Heiko W. Rupp 2013-08-09 14:17:57 UTC
Not used in RHQ 4.9 / JON 3.2


Note You need to log in before you can comment on or make changes to this bug.