[ 
https://issues.apache.org/jira/browse/STORM-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286491#comment-15286491
 ] 

Jungtaek Lim commented on STORM-1842:
-------------------------------------

[~barrywhart] [~CogumelosMaravilha]
I submitted pull requests for reordering structs to get rid of forward 
references.

While I'm not sure that breaks compatibility, you may want to build and package 
your own storm-core by applying this pull request and try to see it helps.

If you want to try testing but don't want to build your own, please ping to me 
so that I can pass custom package to you.

Thanks!

> Forward references in storm.thrift cause tooling issues
> -------------------------------------------------------
>
>                 Key: STORM-1842
>                 URL: https://issues.apache.org/jira/browse/STORM-1842
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.0.0
>            Reporter: Barry Hart
>            Assignee: Jungtaek Lim
>            Priority: Critical
>         Attachments: ttypes.py
>
>
> In recent versions of Storm (starting with version 1.0.0, I believe), 
> storm.thrift uses several types before they are declared:
> * HBPulse
> * HBRecords
> * HBNodes
> These types are used in the definition of HBMessageData.
> This causes issues with downstream tools. For example, generating Python 
> wrappers for the Storm Thrift types creates a module that will not import 
> successfully.
> Would it be possible to reorder this code to define the types before using 
> them? This appears to be a simple change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to