[
https://issues.apache.org/jira/browse/STORM-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165328#comment-14165328
]
ASF GitHub Bot commented on STORM-519:
--------------------------------------
Github user harshach commented on the pull request:
https://github.com/apache/storm/pull/283#issuecomment-58536161
+1 tested it and it looks good.
> HBaseLookupBolt should pass the input tuple to ValueMapper to allow users to
> enrich input tuple.
> ------------------------------------------------------------------------------------------------
>
> Key: STORM-519
> URL: https://issues.apache.org/jira/browse/STORM-519
> Project: Apache Storm
> Issue Type: Improvement
> Affects Versions: 0.9.3
> Reporter: Parth Brahmbhatt
> Priority: Minor
> Fix For: 0.9.3
>
>
> Currently the hbase lookup bolt only passes the result returned after the
> lookup is performed to HBaseValueMapper interface. This restricts the user to
> only return result instance's variable as values that can be emitted.
> The general use case is , user receives a tuple , it looks up some value from
> hbase for this tuple, the lookup bolt returns some combination of original
> tuple and new lookup value. With the current interface the user can only
> return/emit values from the lookup and not from original tuple. I propose to
> pass the original input tuple along with the result to interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)