GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/251
METRON-418 Set TTL on HBase Puts
For METRON-417, the goal is to use HBase's TTL mechanism to expire or
age-out Profile data. This PR provides the mechanism to set TTL values on
HBase Puts.
The HBaseClient is used to write ProfileMeasurement values to HBase. The
client was updated so that a TTL can be attached to each Put. This will allow
us to attach a TTL to each ProfileMeasurement written by the Profiler.
Tests were added to validate successful reads/write to HBase with a TTL,
along with successful expiration of data based on a TTL.
Depends on #246 .
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-418
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/251.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #251
----
commit c2ffd4a94ed59da718ebc17d5d093bb2085e508e
Author: Nick Allen <[email protected]>
Date: 2016-09-10T02:10:03Z
METRON-411 Support Greater Range of Profile Periods
commit f259ea09545fb7a334ab2d763e73ba051b3d44a3
Author: Nick Allen <[email protected]>
Date: 2016-09-14T18:04:23Z
METRON-418 Set TTL on HBase Puts
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---