aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Farrell" <jfarr...@apache.org>
Subject Re: Review Request 38389: AURORA-1485: TaskConfig default container value breaks client library generation for GO
Date Tue, 15 Sep 2015 19:57:46 GMT


> On Sept. 15, 2015, 1:24 a.m., Bill Farner wrote:
> > The default value wasn't a hack, but moving it to the end of the `TaskConfig` message
definition was.  I think the default is useful and should really remain.  IIRC we concluded
that the `optional` was unnecessary, though.
> > 
> > I'm -1 to removing the default due to what appears like a thrift bug, but +1 to
removing the confusing `optional` if that happens to fix things.

patch updated to remove optional and leave default value. Passes all test cases and e2e.


- Jake


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38389/#review98979
-----------------------------------------------------------


On Sept. 15, 2015, 7:56 p.m., Jake Farrell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38389/
> -----------------------------------------------------------
> 
> (Updated Sept. 15, 2015, 7:56 p.m.)
> 
> 
> Review request for Aurora, Kevin Sweeney and Bill Farner.
> 
> 
> Bugs: AURORA-1485
>     https://issues.apache.org/jira/browse/AURORA-1485
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> When generating the client api library for go the default containerizer used as a hack
for AURORA-1185 breaks and causes the client lib to not be generated correctly. The default
value for the optional field `container = { "mesos": {} }` is not necessary as it is defaulted
in java code on the api side.
> 
> Tracking this down it looks like the default value was a last minute addition based on
some review comments and is not necessary or used anywhere.
> 
> 
> Diffs
> -----
> 
>   api/src/main/thrift/org/apache/aurora/gen/api.thrift 24a2ca8cc9a236228fdd8aa61c877319a803c9a6

> 
> Diff: https://reviews.apache.org/r/38389/diff/
> 
> 
> Testing
> -------
> 
> Passes all java/py tests in ./build-support/jenkins/build.sh
> Passes all e2e tests in ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> 
> Thanks,
> 
> Jake Farrell
> 
>


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