----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54038/#review156778 -----------------------------------------------------------
Fix it, then Ship it! include/mesos/hook.hpp (line 136) <https://reviews.apache.org/r/54038/#comment227061> Reflect the fact that it will overwrite the conflicting env vars only. include/mesos/hook.hpp (line 145) <https://reviews.apache.org/r/54038/#comment227060> s/name/containerName/ include/mesos/module/hook.proto (line 24) <https://reviews.apache.org/r/54038/#comment227062> s/TaskExecutorDecoratorInfo/DockerTaskExecutorPrepareInfo/ src/hook/manager.hpp (lines 70 - 75) <https://reviews.apache.org/r/54038/#comment227063> Indent - Kapil Arya On Nov. 23, 2016, 2:26 p.m., Till Toenshoff wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54038/ > ----------------------------------------------------------- > > (Updated Nov. 23, 2016, 2:26 p.m.) > > > Review request for mesos, Adam B, Gastón Kleiman, Kapil Arya, and Joseph Wu. > > > Bugs: MESOS-6396 > https://issues.apache.org/jira/browse/MESOS-6396 > > > Repository: mesos > > > Description > ------- > > For being able to supply environment additions for both, a task and > its executor separately we need to introduce a new hook as the > existing ones slavePreLaunchDockerHook (deprecated) as well as > slavePreLaunchDockerEnvironmentDecorator do not allow for this. > > This new hook will likely allow for further additions like e.g. > adding volumes without having to adapt the signature but only the > returned proto message TaskExecutorDecoratorInfo. > > > Diffs > ----- > > include/mesos/hook.hpp f0606e3a68fa179cf7ea036f10563ef47c2aefa7 > include/mesos/module/hook.proto PRE-CREATION > src/Makefile.am 5e0b8406f7f624bd8b03ff76b887f20e22fc66e0 > src/hook/manager.hpp 5ecfcab48da808c84d36f9bcfcb5a8e0ad2167e5 > src/hook/manager.cpp 24885226a788a7abd851e12b527f74fa972ec935 > src/slave/containerizer/docker.cpp ccabf99f305d7874e1c46bc618ea74341eb281ef > > Diff: https://reviews.apache.org/r/54038/diff/ > > > Testing > ------- > > make check > > *WIP - functional test pending - unit tests pending - WIP* > > > Thanks, > > Till Toenshoff > >