You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/14 18:11:20 UTC
[jira] [Commented] (METRON-418) Set TTL on HBase Puts
[ https://issues.apache.org/jira/browse/METRON-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491089#comment-15491089 ]
ASF GitHub Bot commented on METRON-418:
---------------------------------------
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 <ni...@nickallen.org>
Date: 2016-09-10T02:10:03Z
METRON-411 Support Greater Range of Profile Periods
commit f259ea09545fb7a334ab2d763e73ba051b3d44a3
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-14T18:04:23Z
METRON-418 Set TTL on HBase Puts
----
> Set TTL on HBase Puts
> ---------------------
>
> Key: METRON-418
> URL: https://issues.apache.org/jira/browse/METRON-418
> Project: Metron
> Issue Type: Sub-task
> Reporter: Nick Allen
> Assignee: Nick Allen
>
> The HBaseClient is used by the HBaseBolt to write ProfileMeasurement values to HBase. The client needs updated so that a TTL can be attached to Puts. This will allow us to attach a TTL to each ProfileMeasurement which will expire the data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)