aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renan DelValle" <>
Subject Re: Review Request 37818: Moved executor settings configuration to loadable JSON
Date Tue, 01 Sep 2015 00:37:37 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 1, 2015, 12:37 a.m.)

Review request for Aurora.


New schema implemented with support for URIs as outlined by the Mesos spec. 
Separation of command to be executed from resources to be fetched in preparation for support
for cusotm executors.

Deserializers changed to support URI objects in schema.
Empty or non-existent globalContainerMounts is represented as an empty list in ExecutorSettings.

@ReviewBot retry

Repository: aurora


This is the first stage in a series of patches to create support for custom executors. In
an effort to expedite the review process, I have decided to break down my patch into multiple
pieces that when/if commited won't break the trunk.

This patch includes the ability to load configuration from a JSON file. A JSON example file
is included in examples/vagrant/executors-config.json

Command line arguments have been eliminated and moved over to the JSON file. GSON is leveraged
and does most of the work with the aid of a few custom deserializers that were needed. 

Note that right now a global container mount that does not follow specification will cause
the scheduler to detect the error an exit early. It is up for discussion if this is the desired
behavior or if we should just ignore said mount.

Diffs (updated)

  examples/vagrant/executors-config.json PRE-CREATION 
  examples/vagrant/upstart/aurora-scheduler-kerberos.conf 4f43892723db4744db205ea7dd107e9e9ce9d5db

  examples/vagrant/upstart/aurora-scheduler.conf e909451892f117e9e6eb80994079661827a0914c

  src/jmh/java/org/apache/aurora/benchmark/ c210c0db07bb1f4b3f76668178dcd7e2de56a4ac

  src/jmh/java/org/apache/aurora/benchmark/ 197184b6edc0768d677636341b5737f262abdf7d

  src/main/java/org/apache/aurora/scheduler/app/ 0c440b5cd5b939872c1ee05d048bf739bfa977cb

  src/main/java/org/apache/aurora/scheduler/base/ aa5ce8b2f14c7dbd0eae120018ee41387c26059f

  src/main/java/org/apache/aurora/scheduler/configuration/ PRE-CREATION

  src/main/java/org/apache/aurora/scheduler/mesos/ b3c913892248e4a9a8111412307463985f5ca97f

  src/main/java/org/apache/aurora/scheduler/mesos/ f6ba2c40aea555d3e0ab774218bfe08d7e1c984b

  src/test/java/org/apache/aurora/scheduler/ 6fad3344042dc6a75cdf74ce79d388fcd4fc9861

  src/test/java/org/apache/aurora/scheduler/app/ 1a25924d789295c5950947f5e302e1d1fbec68f2

  src/test/java/org/apache/aurora/scheduler/base/ cd0295780d41bc4e914583f195b37eaed28a46dc

  src/test/java/org/apache/aurora/scheduler/mesos/ dddf7952d3f0e508cd736d5fb95e573267708d43

  src/test/java/org/apache/aurora/scheduler/mesos/ d0987251b058988fcbfab16c1b138c37e0c5b8c6

  src/test/resources/org/apache/aurora/scheduler/configuration/no-value-URI.json PRE-CREATION




./build-support/jenkins/ directory sandbox failed but it may be a flaky test
bash src/test/sh/org/apache/aurora/e2e/


Renan DelValle

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message