You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2018/01/05 10:12:00 UTC
[jira] [Updated] (STORM-1188) PartialKeyGrouping missing from
storm.thrift (and can't use it via custom_object)
[ https://issues.apache.org/jira/browse/STORM-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jungtaek Lim updated STORM-1188:
--------------------------------
Attachment: storm-core-1.1.2-SNAPSHOT-STORM-1188.jar
storm-core-1.2.0-SNAPSHOT-STORM-1188.jar
[~dan.blanchard]
I have a patch, but actually setting up environment looks much harder than making a patch.
So I'd like to ask you to test the change.
jar files are attached.
The changeset is linked here: https://github.com/HeartSaVioR/storm/commit/19df6bf393c5c0acd0d26129e7a23188fb654b55
> PartialKeyGrouping missing from storm.thrift (and can't use it via custom_object)
> ---------------------------------------------------------------------------------
>
> Key: STORM-1188
> URL: https://issues.apache.org/jira/browse/STORM-1188
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 0.10.0, 1.0.0, 0.10.1, 1.0.1, 0.10.2, 1.0.2, 1.1.0, 1.0.3, 1.x, 0.10.3, 1.0.4, 1.1.1, 1.0.5
> Reporter: Dan Blanchard
> Attachments: storm-core-1.1.2-SNAPSHOT-STORM-1188.jar, storm-core-1.2.0-SNAPSHOT-STORM-1188.jar
>
>
> I'm working on a Python DSL for Storm to add to streamparse, and as part of it I realized that the new partial key grouping was never added to the Grouping struct in storm.thrift, so it's not usable outside of JVM-based topology definitions (at least not easily). My initial thought was to just use Grouping.custom_object, but the PartialKeyGrouping constructor takes a Fields object, which isn't a type defined in storm.thrift, so I can't use it.
> The fields grouping explicitly takes a list of strings in storm.thrift, so it would seem PartialKeyGrouping needs to be added in the same way.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)