This release includes features that improve DSE Search/Solr operations.
Two features for performing an anti-entropy node repair on a subrange of data instead of all the data in a keyspace.
Using these commands, DSE Search now performs a partial re-index instead of a full re-index of Solr data after an anti-entropy repair.
A new nodetool error code. When a replica node is dead and repair cannot proceed, nodetool sends an error status code to standard output.
The new dsetool command syntax for listing subranges of data in a keyspace is:
dsetool list_subranges <keyspace> <table> <rows per subrange> <start token> <end token>
<rows per subrange> is the approximate number of rows per subrange.
<start token> is the start range of the node.
<end token> is the end range of the node.
Note
You run nodetool repair on a single node using the output of list_subranges. The output must be tokens used on that node.
Example
dsetool list_subranges Keyspace1 Standard1 10000 113427455640312821154458202477256070485 0
The dsetool is located in <install_location>/bin on Linux platforms.
Output
The output lists the subranges to use as input to the nodetool repair command. For example:
Start Token End Token Estimated Size
------------------------------------------------------------------------------------------------
113427455640312821154458202477256070485 132425442795624521227151664615147681247 11264
132425442795624521227151664615147681247 151409576048389227347257997936583470460 11136
151409576048389227347257997936583470460 0 11264
The start token (-st) and end token (-et) options specify the portion of the node needing repair. You get values for the start and end tokens from the output of dsetool list_subranges command. The new nodetool repair syntax for using these options is:
nodetool repair <keyspace> <table> -st <start_token> -et <end_token>
Example
nodetool repair Keyspace1 Standard1 -st 113427455640312821154458202477256070485 -et 132425442795624521227151664615147681247
nodetool repair Keyspace1 Standard1 -st 132425442795624521227151664615147681247 -et 151409576048389227347257997936583470460
nodetool repair Keyspace1 Standard1 -st 151409576048389227347257997936583470460 -et 0
These commands begins an anti-entropy node repair from the start token to the end token.
The following issue has been resolved:
Issues listed in DataStax Enterprise 2.2 to DataStax Enterprise 2.2.2 that have not been listed as resolved have not yet been fixed.
This release contains the following changes:
The Cassandra log4j appender doesn't support multiple hosts. (DSP-1601)
This release contains the following changes:
This release has the following issues:
Issue 1: In this release, an exception occurs under either of these conditions:
The workaround is to perform a rolling restart (restart each node one-at-a-time) before adding any data to the database.
Note
Adding data before performing the workaround can cause unpredictable problems.
After you drop a Solr keyspace or column family, Solr-specific residual data remains in memory until you perform the workaround. For example, if you drop a Solr keyspace on node 1 and search for the data on node 2, Solr returns residual data. To completely remove the residual data, you need to perform the workaround to restart all Solr nodes.
Issue 2: DataStax Enterprise is designed for a multiple data center environment and not intended for use with the SimpleStrategy replication placement strategy. SimpleStrategy is not data center-aware. DataStax Enterprise does not work correctly using SimpleStrategy. Use NetworkTopologyStrategy. DSP-1195
Issue 3: The nodetool repair does not completely repair a keyspace unless it is in every datacenter. CASSANDRA-5424
DataStax Enterprise 2.2 has been enhanced in the following ways:
This release has the following issues:
Issue 1: The cassandra.yaml file in DataStax 2.2 is incomplete. Download the correct cassandra.yaml file for DataStax Enterprise 2.2 from:
Use this file to overwrite the existing cassandra.yaml file in the following location:
Binary Tarball Install
<install location>/resources/cassandra/conf
Packaged Install
<install location>/etc/dse/cassandra
The next release will correct this issue. DSP-1053
Issue 2: You might experience a problem upgrading to DataStax Enterprise 2.2. You definitely will not lose data if you experience the problem. The workaround is to save keyspaces in your old installation before upgrading and validate the upgrade to ensure that keyspaces were migrated. A patch will be issued to resolve this issue. CASSANDRA-4698
Issue 3: This release has no native support for Cassandra composite columns when using Hive, Pig, Solr, Mahout, or Sqoop components. When using these components, the columns are transposed in CQL 3 query results. It is the user's responsibility to create a user-defined function (UDF) to display the tables correctly.
Issue 4: DataStax recommends that you use Oracle JDK/JRE 6 update 19 or later, but not Oracle JDK/JRE 6 update 34-35 or JDK/JRE 7.
Issue 5: Sometimes, under a heavy write load, Cassandra fails with an assertion error that looks something like this:
java.lang.AssertionError: DecoratedKey(xxx, yyy) != DecoratedKey(zzz, kkk) . . .
The workaround is to disable caching using CQL.
Issue 6: If a node has hints for a few nodes, that node delivers hints only for the first one of them. Cassandra-4772
Issue 7: MapReduce jobs hang before completing or finishing cleanup with older versions of Hadoop (MAPREDUCE-4560, MAPREDUCE-4299. The workaround is remove the mapred.reduce.slowstart.completed.maps parameter and restart. DSP-1154
Issue 8: The nodetool repair -pr command does not completely repair a keyspace unless the keyspace is in every datacenter. CASSANDRA-5424