Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-519

HBaseLookupBolt should pass the input tuple to ValueMapper to allow users to enrich input tuple.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.3
    • Fix Version/s: 0.9.3
    • Component/s: storm-hbase
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              parth.brahmbhatt Parth Brahmbhatt
              Reporter:
              parth.brahmbhatt Parth Brahmbhatt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: