You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ambud Sharma (JIRA)" <ji...@apache.org> on 2016/12/26 19:01:00 UTC
[jira] [Updated] (STORM-2204) Add caching to HBaseLookupBolt
[ https://issues.apache.org/jira/browse/STORM-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ambud Sharma updated STORM-2204:
--------------------------------
Affects Version/s: (was: 0.10.0)
> Add caching to HBaseLookupBolt
> ------------------------------
>
> Key: STORM-2204
> URL: https://issues.apache.org/jira/browse/STORM-2204
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-hbase
> Affects Versions: 1.0.0, 2.0.0
> Reporter: Ambud Sharma
> Assignee: Ambud Sharma
> Labels: patch
> Attachments: storm-hbase-cache.patch
>
> Original Estimate: 2h
> Time Spent: 9h 50m
> Remaining Estimate: 0h
>
> Add capability to cache Results from HBase lookup in HBaseLookupBolt.
> - Caching is disabled by default.
> - Enabled by configuration
> hbase.cache.enable = true
> hbase.cache.ttl.seconds = 300
> hbase.cache.size = 1000
> Using Guava LoadingCache implementation to create an LRU cache.
> Also marking OutputCollector as transient in AbstractHbaseBolt (it should be marked as transient)
> https://github.com/apache/storm/blob/cd5c9e8f904205a6ca6eee9222ca954ca8b37ec3/external/storm-hbase/src/main/java/org/apache/storm/hbase/bolt/HBaseLookupBolt.java
> https://github.com/apache/storm/pull/1783
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)