Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1185

immutable thrift definition for ITaskConfig is missing some functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reviewable
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Scheduler
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaybuff Jay Buffington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: