You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/01 18:29:17 UTC
[jira] [Commented] (STORM-753) [storm-redis] Let Redis*StateUpdater
to have additional mapper - converting Redis key/value to Storm Values
[ https://issues.apache.org/jira/browse/STORM-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567519#comment-14567519 ]
ASF GitHub Bot commented on STORM-753:
--------------------------------------
Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/504#discussion_r31442926
--- Diff: external/storm-redis/README.md ---
@@ -205,7 +211,8 @@ RedisClusterState
}
JedisClusterConfig clusterConfig = new JedisClusterConfig.Builder().setNodes(nodes)
.build();
- TridentTupleMapper tupleMapper = new WordCountTupleMapper();
+ RedisStoreMapper storeMapper = new WordCountStoreMapper();
--- End diff --
storeMapper does not appear to be used later on, and should probably be removed.
> [storm-redis] Let Redis*StateUpdater to have additional mapper - converting Redis key/value to Storm Values
> -----------------------------------------------------------------------------------------------------------
>
> Key: STORM-753
> URL: https://issues.apache.org/jira/browse/STORM-753
> Project: Apache Storm
> Issue Type: Improvement
> Affects Versions: 0.10.0, 0.11.0
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
>
> https://issues.apache.org/jira/browse/STORM-723?focusedCommentId=14381626&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14381626
> Currently Redis*StateUpdater use key prefix to let users customize key name.
> Since it's less powerful, how about having 2 mappers which one is for converting tuple to key/value, and another one is for converting value from Redis to Storm Values?
> You can refer https://github.com/apache/storm/blob/master/external/storm-hbase/src/main/java/org/apache/storm/hbase/trident/state/HBaseState.java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)