[jira] [Updated] (AURORA-1185) immutable thrift definition for ITaskConfig is missing some functions
[ https://issues.apache.org/jira/browse/AURORA-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sirois updated AURORA-1185: Assignee: (was: John Sirois) > 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 >Priority: Minor > > 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#142601 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (AURORA-1185) immutable thrift definition for ITaskConfig is missing some functions
[ https://issues.apache.org/jira/browse/AURORA-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sirois updated AURORA-1185: Priority: Minor (was: Major) > 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 >Priority: Minor > > 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#142601 -- This message was sent by Atlassian JIRA (v6.3.4#6332)