When sending NoMasterDetectedMessage, we need to clear the master
sequence number in order to ensure we still send
NewMasterDetectedMessage if the master is the same. Otherwise, we can
get stuck in a master-less state.

Review: https://reviews.apache.org/r/10161

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477440 13f79535-47bb-0310-9956-ffa450edef68
Removed the unused SlavesManager and SlaveRegistrar code, to be added
later with MESOS-295.

Review: https://reviews.apache.org/r/10171

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477441 13f79535-47bb-0310-9956-ffa450edef68
Send NoMasterDetectedMessage on session timeout to non-contending
detectors. Added a disconnected slave map to the master to track
disconnected slaves, in order to disallow slave re-registration after
a network partition.

Review: https://reviews.apache.org/r/10172

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477442 13f79535-47bb-0310-9956-ffa450edef68
Removed the hostname:port slave map from the Master.

Review: https://reviews.apache.org/r/10534

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477443 13f79535-47bb-0310-9956-ffa450edef68
Fixed the master to shutdown deactivated slaves that send further
messages to the master.

Review: https://reviews.apache.org/r/10734

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477444 13f79535-47bb-0310-9956-ffa450edef68
Added linux /proc utilities in stout.

Review: https://reviews.apache.org/r/10809

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477455 13f79535-47bb-0310-9956-ffa450edef68
Added proc_tests.cpp to the libprocess third party tests.

Review: https://reviews.apache.org/r/10810

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477456 13f79535-47bb-0310-9956-ffa450edef68
Removed linux/proc.{hpp,cpp} in favor of stout/proc.hpp.

Review: https://reviews.apache.org/r/10811

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477457 13f79535-47bb-0310-9956-ffa450edef68
Fixed executor driver to properly handle UUIDs.

Review: https://reviews.apache.org/r/10818

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1477734 13f79535-47bb-0310-9956-ffa450edef68
Simplify os::hostname() in libstout.
Run Hadoop tutorial binaries from within build dir.
Include pre/post-package hook scripts in Hadoop tutorial.
Allow ending Hadoop tutorial early.

Allow someone to end tutorial after building/packaging complete.  You
can also skip the test part by exporting SKIP_TESTS (i.e., 'make hadoop
SKIP_TESTS=1').
Use XZ (LZMA) for package on Linuxes.
Build fix for HadoopPipes.cc with GCC 4.7.
Check for Python.h in configure script.
Use more portable paths for tutorial test.
Improve MesosScheduler for Hadoop.

We'll try to allocate map/reduce slots in such a way that we ensure we
utilize the entire cluster effectively.  We'll use up to the maximum
desired number of map/reduce slots, starting from a minimum of 1 map or
1 reduce slot.
Don't prematurely kill TaskTrackers.

We wait for 300,000ms (5 minutes) of inactivity before we kill a running
TaskTracker in case there are still reducers who need the task results.

You may override the timeout by setting the number of milliseconds in
mapred-site.xml with the property 'mapred.tasktracker.idle.timeout'.
Hadoop tutorial version bump (CDH4.2.0 -> 4.2.1).