mesos git commit: Fixed fetcher to not recursively chown the entire sandbox.

2016-10-19 Thread yan
Repository: mesos Updated Branches: refs/heads/master e65b40d48 -> 09a1cd102 Fixed fetcher to not recursively chown the entire sandbox. Fetcher currently changes the ownership of entire sandbox directory recursively to the task user and as a result also changes the ownership of files laid down

mesos git commit: Fixed a bug that causes the fetcher to not chown the sandbox.

2016-10-19 Thread yan
Repository: mesos Updated Branches: refs/heads/master bf00061b5 -> e65b40d48 Fixed a bug that causes the fetcher to not chown the sandbox. Moved the `uri.size() == 0` check in fetcher so that the chown to task user of stdout/stderr in sandbox directory happens even when there is no uri to be f

[02/10] mesos git commit: Changed reconciliation for unregistering, reregistering agents.

2016-10-19 Thread vinodkone
Changed reconciliation for unregistering, reregistering agents. Previously, explicit reconciliation for an agent that was in the process of reregistering or unregistering returned no results. This degree of cleverness seems unwarranted: if the agent hasn't completed the reregistration or unregistr

[01/10] mesos git commit: Avoided using SIGUSR1 in two test cases.

2016-10-19 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 5e850a362 -> bf00061b5 Avoided using SIGUSR1 in two test cases. We want to cause the agent to shutdown gracefully (i.e., to send an "unregister" message to the master). This can be accomplished by sending the whole process a SIGUSR1 but tha

[04/10] mesos git commit: Clarified a comment that occurs in several tests.

2016-10-19 Thread vinodkone
Clarified a comment that occurs in several tests. Review: https://reviews.apache.org/r/52657/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1a3e931f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1a3e931f Diff: htt

[10/10] mesos git commit: Clarified a comment.

2016-10-19 Thread vinodkone
Clarified a comment. Review: https://reviews.apache.org/r/52720/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bf00061b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bf00061b Diff: http://git-wip-us.apache.org/rep

[06/10] mesos git commit: Changed master to send TASK_DROPPED for task launch errors.

2016-10-19 Thread vinodkone
Changed master to send TASK_DROPPED for task launch errors. When a task launch fails due to a transient error (e.g., insufficient available resources at an agent), the master sends a TASK_LOST update to the framework. For PARTITION_AWARE frameworks, we now send TASK_DROPPED instead. Review: https

[03/10] mesos git commit: Cleaned up a test case.

2016-10-19 Thread vinodkone
Cleaned up a test case. Review: https://reviews.apache.org/r/52656/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0bef37ab Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0bef37ab Diff: http://git-wip-us.apache.org/

[09/10] mesos git commit: Renamed a function for clarity.

2016-10-19 Thread vinodkone
Renamed a function for clarity. `Master::reconcile(Framework*, const scheduler::Call::Reconcile&)` and `Master::reconcile(Slave*, const vector&, const vector& tasks)` are only loosely related. Per discussion on the development list, using overloading to distinguish these two functions is confusing

[07/10] mesos git commit: Removed redundant test.

2016-10-19 Thread vinodkone
Removed redundant test. `MasterAuthorizationTest.SlaveDisconnectedLost` was identical to `MasterAuthorizationTest.SlaveRemovedLost`. Review: https://reviews.apache.org/r/52969/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit

[08/10] mesos git commit: Changed master to send TASK_UNKNOWN during reconciliation.

2016-10-19 Thread vinodkone
Changed master to send TASK_UNKNOWN during reconciliation. Previously, the master would send TASK_LOST in response to explicit reconciliation requests for (a) unknown tasks at registered slaves and (b) tasks at unknown slaves (neither registered nor unreachable). The master will now send TASK_UNKN

[05/10] mesos git commit: Changed scheduler driver to send TASK_DROPPED.

2016-10-19 Thread vinodkone
Changed scheduler driver to send TASK_DROPPED. If a scheduler tries to launch a task when the scheduler driver is not connected to the master, the scheduler driver creates a faux TASK_LOST status update to indicate that the task launch has not succeeded. If the framework is PARTITION_AWARE, the sc

mesos git commit: Fixed 'ROOT_CGROUPS_ParentExit' multi-digit fd issue.

2016-10-19 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f606fb25e -> 5e850a362 Fixed 'ROOT_CGROUPS_ParentExit' multi-digit fd issue. This patch is a workaround for dash (default sh for ubuntu and debian) multi-digit fd bug: https://bugs.launchpad.net/ubuntu/+source/dash/+bug/249620 The cleanup

[2/2] mesos git commit: Restored alphabetical order in contributors.yaml.

2016-10-19 Thread alexr
Restored alphabetical order in contributors.yaml. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f606fb25 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f606fb25 Diff: http://git-wip-us.apache.org/repos/asf/mesos/dif

[1/2] mesos git commit: Added Manuwela Kanade to contributors.yaml.

2016-10-19 Thread alexr
Repository: mesos Updated Branches: refs/heads/master e5588d626 -> f606fb25e Added Manuwela Kanade to contributors.yaml. Review: https://reviews.apache.org/r/53017/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/72ae090e

[1/2] mesos git commit: Removed stray phrase in docs.

2016-10-19 Thread alexr
Repository: mesos Updated Branches: refs/heads/master ee7496ad8 -> e5588d626 Removed stray phrase in docs. This phrase was added by accident and slipped through review. Review: https://reviews.apache.org/r/53019/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-

[2/2] mesos git commit: Fixed a typo in a comment.

2016-10-19 Thread alexr
Fixed a typo in a comment. Review: https://reviews.apache.org/r/52988/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e5588d62 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e5588d62 Diff: http://git-wip-us.apache.o