2.0.0-incubating Release Notes

This is the second release of the Apache Trafodion (incubating) project. It builds on the initial R1.3 release, with many new features and improvements, and will offer a binary package for the first time.

Build instructions are available here.

New Features

Feature Jira ID
Support for Hadoop distributions CDH 5.4, HDP 2.3, as well as Apache HBase 1.0 (TRAFODION-1706)
Ability to online add / remove nodes from a Trafodion instance (TRAFODION-1885)
Transaction protection for DDL operations (TRAFODION-1798)
Native support for Large OBjects (BLOB and CLOB data types) (PREVIEW MODE)
Support to ALTER all attributes of a column (TRAFODION-1844)
Support for GBK charset in SQL TRANSLATE function (TRAFODION-1720)

Improvements

Feature Jira ID
Advanced predicate pushdown TRAFODION-1662
Improved co-ordination between transactions and HBase region splits / rebalance TRAFODION-1648
Optimize MDAM scans with small scanner TRAFODION-1900
Integrate library management into Trafodion metadata TRAFODION-1879
Improved support for UPDATE STATISTICS for large tables (up to 1B rows)
Numerous build improvements

Fixes

This release contains 250+ fixes.

Migration Considerations

  1. This release does not include convenience binaries for the client package due to a licensing issue. Convenience binaries will be included in a follow-on patch release (R2.0.1) that should be available shortly. During this time, existing documentation (Trafodion Client Installation Guide and Trafodion Provisioning Guide), which refer to binaries, will be briefly out of sync.

  2. New SQL procedures have been added to manage user libraries. If you have an existing Trafodion installation, execute the following as user trafodion.

    $ sqlci
    sql> initialize trafodion, create library management;
    sql> exit;
    

    This statement creates a new schema called _LIBMGR_ and creates the library management procedures in this schema. If security is enabled, a new system role called DM__LIBMGRROLE is added.

Notes

ESP Idle timeout [TRAFODION-1823]

A new CQD ESP_IDLE_TIMEOUT has been introduced in this release. This setting governs the life of an idle ESP (defined as an ESP that is not executing any work). On expiry of the timer, the ESP will kill itself.

sql> CQD ESP_IDLE_TIMEOUT ‘<seconds>’;

The default timer value is 1800 seconds.

HBase Lease Timeout Patch [Same as Release 1.3]

HBase uses a lease mechanism to protect against memory leaks in Region Servers caused by potential client instabilities that would open scanners, but die before having the opportunity to close cleanly and release resources. This mechanism relies on a server side timer, configured by the ‘hbase.client.scanner.timeout.period’ parameter in ‘hbase-site.xml’. If a client fails to call ‘next()’ within the timeout period, the server will assume the client died, and will force close the server side scanner and release resources. However, in Trafodion, there are legitimate use cases where client is busy doing heavy processing, and needs more time than specified in the default scanner timeout value. Increasing the ‘hbase.client.scanner.timeout.period’ value has the side effect of weakening the safety mechanism previously described.

The HBase community agrees that the correct behavior of this safety feature should be to have the client reset the scanner and resume where it left off instead of giving up and throwing an exception. The change will be implemented in a future release of HBase. In the meantime, this release includes a mechanism to invoke the correct behavior via a custom setting. You can enable the behavior by adding this parameter in ‘hbase-site.xml’.

<property> 
  <name>hbase.trafodion.patchclientscanner.enabled</name>
  <value>true</value> 
  <description>
    Enable a Trafodion feature to allow a client to reset the HBase scanner and resume where it left off instead of throwing an exception upon expiration of the HBase hbase.client.scanner.timeout.period timer.
  </description>
</property>

The default value of the parameter is false.

Supported Platforms

Operating Systems RedHat / CentOS 6.5 – 6.7
Hadoop Distributions Cloudera distributions CDH 5.4
Hortonworks distribution HDP 2.3
Apache Hadoop with Apache HBase 1.0
Java Version JDK 1.7.0_67 or newer

Back to top


Apache, Apache Maven, Apache Maven Fluido Skin, the Apache feather logo, the Apache Maven project logo and the Apache Incubator project logo are trademarks of the Apache Software Foundation.