Factored out serializer/deserializer from state abstraction
(https://reviews.apache.org/r/6076).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1368752 13f79535-47bb-0310-9956-ffa450edef68
Implemented JNI bindings for a Java based State (that only provides
byte[] based variables, for now) and a ZooKeeper based implementation
(https://reviews.apache.org/r/6077).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1368753 13f79535-47bb-0310-9956-ffa450edef68
Minor comment and syntax updates (https://reviews.apache.org/r/6078).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1368754 13f79535-47bb-0310-9956-ffa450edef68
Refactored Java implementation of State to use immutable variables and
added an in-memory implementation for testing
(https://reviews.apache.org/r/6079).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1368755 13f79535-47bb-0310-9956-ffa450edef68
Added the ability to "iterate" over the variable names currently in
the state (https://reviews.apache.org/r/6324).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1368801 13f79535-47bb-0310-9956-ffa450edef68
Made the C++ implementaton of State return an Option<Variable> (rather
than mutate the passed in variable via a pointer)
(https://reviews.apache.org/r/6333).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370066 13f79535-47bb-0310-9956-ffa450edef68
Added discard chaining from a future created from Future::then.

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370067 13f79535-47bb-0310-9956-ffa450edef68
Fixed a bug in LXC isolation module (contributed by Jie Yu,
https://reviews.apache.org/r/6321).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370068 13f79535-47bb-0310-9956-ffa450edef68
Add APIs for event notification in cgroups (contributed by Jie Yu,
https://reviews.apache.org/r/5395).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370076 13f79535-47bb-0310-9956-ffa450edef68
Add APIs for the cgroups freezer subsystem (contributed by Jie Yu,
https://reviews.apache.org/r/5401).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370077 13f79535-47bb-0310-9956-ffa450edef68
Add an API to atomically kill all tasks in a cgroup (contributed by
Jie Yu, https://reviews.apache.org/r/5402).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370078 13f79535-47bb-0310-9956-ffa450edef68
Add an API to destroy a cgroup (and all its sub-cgroups) (contributed
by Jie Yu, https://reviews.apache.org/r/5840).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370079 13f79535-47bb-0310-9956-ffa450edef68
Added the cgroups isolation module (contributed by Jie Yu,
https://reviews.apache.org/r/5509).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370080 13f79535-47bb-0310-9956-ffa450edef68
Adds an endpoint for doing a '307 Temporary Redirect' from any master
to the leading master (contributed by Ben Mahler,
https://reviews.apache.org/r/6322).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370081 13f79535-47bb-0310-9956-ffa450edef68
Fixes a bug where the DRF allocator didn't filters after a framework
was deactivated (contributed by Vinod Kone,
https://reviews.apache.org/r/6406).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370082 13f79535-47bb-0310-9956-ffa450edef68
Replaced 'fatal' with LOG(FATAL) and renamed a variable to be more
consistent with other uses of ZooKeeper
(https://reviews.apache.org/r/6413).

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370092 13f79535-47bb-0310-9956-ffa450edef68
Fix bug passing 'NULL' instead of 0.

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370093 13f79535-47bb-0310-9956-ffa450edef68
Made a test script executable.

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370095 13f79535-47bb-0310-9956-ffa450edef68
Added an include for fcntl.h to get at O_CLOEXEC.

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370097 13f79535-47bb-0310-9956-ffa450edef68
Added an include for linux/fcntl.h to get O_CLOEXEC on Linux with an
old glibc.

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1370099 13f79535-47bb-0310-9956-ffa450edef68