You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Barry Hart (JIRA)" <ji...@apache.org> on 2016/05/17 01:04:12 UTC

[jira] [Created] (STORM-1842) Forward references in storm.thrift cause tooling issues

Barry Hart created STORM-1842:
---------------------------------

             Summary: 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


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)