> On 10 May 2015, at 05:23, Thomas Weise <[email protected]> wrote:
> 
> Also, the configuration docs describe property inheritance and resolution:
> 
> http://slider.incubator.apache.org/docs/configuration/core.html
> 
> I could not find this used (other than for the app master) in existing
> packages? Is there an example that also shows how these values are accessed
> from the script?
> 

I'm not sure that by the time the .py client gets to see things, they get to 
see the raw data, just the "resolved" stuff.

That's something to look at in future: there's no reason why not to expose it.

The other thing we have always talked about is cross-referencing in the .json 
config files, both to other bits of the specification (including between 
appconf.json & resources.json), and with some late-binding env variables (so 
that you really can get the env.PATH at the far end).

That gets complex very, very fast, introduces loops, leads to very hard to 
debug configurations. And, once you start adding more features, the leap from 
declarative to full turing-equivalence. We've left things dumbed down (for now).

However, did you notice the Google Borg paper hinted at their config language, 
with 100+K lines of config. That's one serious deployment. 

here's the only public documentation of their GCL
http://alexandria.tue.nl/extra1/afstversl/wsk-i/bokharouss2008.pdf

Reply via email to