Jay Buffington created AURORA-1185:
--------------------------------------

             Summary: immutable thrift definition for ITaskConfig is missing 
some functions
                 Key: AURORA-1185
                 URL: https://issues.apache.org/jira/browse/AURORA-1185
             Project: Aurora
          Issue Type: Bug
          Components: Scheduler
            Reporter: Jay Buffington


src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py doesn't 
properly handle lines that look like this:

    29: optional Container container = { "mesos": {} }

It will ignore any entries after that line.  This means that method calls like 
this will fail to compile

    config = ITaskConfig(...)
    config.getExecutorConfig();

A work around is to move that line to the end of the struct's definition.

This was discussed in IRC:
http://wilderness.apache.org/channels/?f=aurora/2015-03-10#1426012222





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

Reply via email to