[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: Simplify the comparison logic for `ExecutorInfo`.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 70bddc989 -> aa643b620 Simplify the comparison logic for `ExecutorInfo`. This is a follow up fix of https://reviews.apache.org/r/52817/. Review: https://reviews.apache.org/r/52906/ Project: http://git-wip-us.apache.org/repos/asf/mesos/re

mesos git commit: Updated user-group.html.md to add Seville(Spain).

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9e8f01ec8 -> c7dab59bf Updated user-group.html.md to add Seville(Spain). Added Seville (Spain) user group and fixed the order of Amsterdam (Netherlands). This closes #163 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Updated contributors.yaml.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master fd1b7bdfb -> 9e8f01ec8 Updated contributors.yaml. Got my first PR in Mesos! This closes #172 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9e8f01ec Tree: http://git

svn commit: r16583 - in /dev/mesos/1.0.2-rc1: ./ mesos-1.0.2.tar.gz mesos-1.0.2.tar.gz.asc mesos-1.0.2.tar.gz.md5

2016-10-18 Thread vinodkone
Author: vinodkone Date: Tue Oct 18 21:49:03 2016 New Revision: 16583 Log: Adding mesos-1.0.2-rc1. Added: dev/mesos/1.0.2-rc1/ dev/mesos/1.0.2-rc1/mesos-1.0.2.tar.gz (with props) dev/mesos/1.0.2-rc1/mesos-1.0.2.tar.gz.asc dev/mesos/1.0.2-rc1/mesos-1.0.2.tar.gz.md5 Added: dev

[mesos] Git Push Summary

2016-10-18 Thread vinodkone
Repository: mesos Updated Tags: refs/tags/1.0.2-rc1 [created] 56529fa99

[3/3] mesos git commit: Updated CHANGELOG for 1.0.2.

2016-10-18 Thread vinodkone
Updated CHANGELOG for 1.0.2. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/56529fa9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/56529fa9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/56529fa9 Branch: r

[2/3] mesos git commit: Fixed an uninitialized variable warning.

2016-10-18 Thread vinodkone
Fixed an uninitialized variable warning. Observed with clang-tidy. Review: https://reviews.apache.org/r/52113/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/aa6dad21 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/

[1/3] mesos git commit: Updated configure.ac and CMakeLists.txt to 1.0.2.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 041249f69 -> 56529fa99 Updated configure.ac and CMakeLists.txt to 1.0.2. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5ee93ea9 Tree: http://git-wip-us.apache.org/repo

mesos git commit: Updated CHANGELOG for 1.0.2.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 0b02dc7a8 -> fd1b7bdfb Updated CHANGELOG for 1.0.2. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fd1b7bdf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fd1

[2/2] mesos git commit: Revert "Refactored the agent 'launcher' flag to always have a value."

2016-10-18 Thread vinodkone
Revert "Refactored the agent 'launcher' flag to always have a value." This reverts commit 4a529e92209497d7561db8ec2516667b97c9bc59. This was incorrectly cherry picked onto 1.0.x to fix a build issue. While it fixed the build it broke `mesos-local` that was fixed as part of MESOS-5613. The real i

[1/2] mesos git commit: Allowed all flags load methods to specify a prefix.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 914bb5f2f -> 041249f69 Allowed all flags load methods to specify a prefix. This also refactors the prefix logic into one place, so that's nice. Required for the actual fix for passing work_dir in local. Review: https://reviews.apache.org/r/

mesos git commit: Strip whitespace on dns resolve.

2016-10-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master bce515f3d -> 057fd2c67 Strip whitespace on dns resolve. Review: https://reviews.apache.org/r/52993/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/057fd2c6 Tree: http

[1/2] mesos git commit: Added note to CHANGELOG about --runtime_dir.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 6a47d0da2 -> 4b2033b2c Added note to CHANGELOG about --runtime_dir. Review: https://reviews.apache.org/r/52814/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4b2033b

[2/2] mesos git commit: Updated default value of the '--runtime_dir' agent flag.

2016-10-14 Thread vinodkone
Updated default value of the '--runtime_dir' agent flag. Previously, the default value of '--runtime_dir' was hard coded to '/var/run/mesos'. However, this directory is typically only accessable to the 'root' user. This caused problems when launching an agent as a non-root user. We now check to se

[1/2] mesos git commit: Added documentation for default executor and LAUNCH_GROUP event.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a926cf3da -> cfeabec58 Added documentation for default executor and LAUNCH_GROUP event. This is very minimal documentation mainly around the new framework APIs and the default executor. Review: https://reviews.apache.org/r/52901 Project:

[2/2] mesos git commit: Updated framework development guide to include v1 APIs.

2016-10-14 Thread vinodkone
Updated framework development guide to include v1 APIs. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/eabb10cc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/eabb10cc Diff: http://git-wip-us.apache.org/repos/asf/mes

mesos git commit: Tweaked description of framework checkpointing behavior.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 3a143b155 -> 2fd78e6a0 Tweaked description of framework checkpointing behavior. Review: https://reviews.apache.org/r/52898/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/co

[3/5] mesos git commit: Exposed the executor's type in the endpoints.

2016-10-14 Thread vinodkone
Exposed the executor's type in the endpoints. Review: https://reviews.apache.org/r/52520/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/88cd1df7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/88cd1df7 Diff: http://

[4/5] mesos git commit: Fixed the wrong sandbox directory of the tasks in Web UI.

2016-10-14 Thread vinodkone
Fixed the wrong sandbox directory of the tasks in Web UI. For the task launched by default-executor, its sandbox directory is 'executor_directory/tasks/task_id/'. This patch generates the corresponding sandbox directory in Web UI for the task according to its executor type. Review: https://review

[5/5] mesos git commit: Moved the `decimalFloat` filter to app.js for consistency.

2016-10-14 Thread vinodkone
Moved the `decimalFloat` filter to app.js for consistency. Review: https://reviews.apache.org/r/52664/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9afaaffd Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9afaaffd

[2/5] mesos git commit: Filled missing executor info in tasks when `LAUNCH_GROUP`.

2016-10-14 Thread vinodkone
Filled missing executor info in tasks when `LAUNCH_GROUP`. This fixed the navigate error in Web UI because Web UI uses the executor id of the task to search the corresponding sandbox directory. Web UI uses the task id as the executor id if the executor id of the task is empty when searching the sa

[1/5] mesos git commit: Added utils method to check if `ExecutorInfo` different.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b0d4439d6 -> 9afaaffd8 Added utils method to check if `ExecutorInfo` different. Review: https://reviews.apache.org/r/52817/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/co

[2/2] mesos git commit: Invoke the shutdown executor callback for checkpointed frameworks.

2016-10-12 Thread vinodkone
Invoke the shutdown executor callback for checkpointed frameworks. Previously, the executor library used to commit suicide after the recovery timeout without invoking the executor's shutdown callback. This behavior was not consistent with the executor driver. Review: https://reviews.apache.org/r/

[1/2] mesos git commit: Made default executor handle shutdown events while disconnected.

2016-10-12 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 58bfa80c6 -> 8b4d83aec Made default executor handle shutdown events while disconnected. Previously, the default executor used to crash with a failed assertion when the executor library injected a shutdown event when it noticed a disconnecti

mesos git commit: Updated comments about ExecutorInfo in mesos.proto.

2016-10-12 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 1e514ca02 -> d3f560576 Updated comments about ExecutorInfo in mesos.proto. Removed the comment that says resources are automatically set to default values if unset. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http:/

mesos git commit: Refactored the agent 'launcher' flag to always have a value.

2016-10-07 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 68366a7ac -> 4a529e922 Refactored the agent 'launcher' flag to always have a value. NOTE: Cherry picked this because without it the build breaks due to a no-longer-valid `flags.load` overload usage in local.cpp. Review: https://reviews.apac

[1/3] mesos git commit: Improved mesos.proto comments for partition-aware frameworks.

2016-10-07 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master bb8b14456 -> 0f97117ba Improved mesos.proto comments for partition-aware frameworks. Review: https://reviews.apache.org/r/52632/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mes

[3/3] mesos git commit: Synchronized unversioned and v1 mesos.proto.

2016-10-07 Thread vinodkone
Synchronized unversioned and v1 mesos.proto. Review: https://reviews.apache.org/r/52634/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0f97117b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0f97117b Diff: http://g

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

2016-10-07 Thread vinodkone
Fixed typo in comment. Review: https://reviews.apache.org/r/52633/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6c69a3c8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6c69a3c8 Diff: http://git-wip-us.apache.org/r

mesos git commit: Corrected small typo.

2016-10-06 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 558613cc7 -> 3902b051f Corrected small typo. This closes #170 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3902b051 Tree: http://git-wip-us.apache.org/repos/asf/mes

[2/2] mesos git commit: Added MESOS-5613 to 1.0.2 CHANGELOG.

2016-10-05 Thread vinodkone
Added MESOS-5613 to 1.0.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6773b8ff Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6773b8ff Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6773b8ff B

[1/2] mesos git commit: Propagated work_dir flag from local runs to agents/masters.

2016-10-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 63c2ece2f -> 6773b8ffe Propagated work_dir flag from local runs to agents/masters. Review: https://reviews.apache.org/r/50003/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/

mesos git commit: Added MESOS-5613 to 1.0.2 CHANGELOG.

2016-10-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 410857ada -> 5e722cec4 Added MESOS-5613 to 1.0.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5e722cec Tree: http://git-wip-us.apache.org/repos/asf/mesos/

mesos git commit: Update contributors.yaml for gradywang.

2016-10-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master ac859b4fe -> cfabf13df Update contributors.yaml for gradywang. This closes #168 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cfabf13d Tree: http://git-wip-us.apache

[2/3] mesos git commit: Fixed bug with unreachable tasks and disconnected frameworks.

2016-10-03 Thread vinodkone
Fixed bug with unreachable tasks and disconnected frameworks. We previously assumed that when marking a task unreachable, we would have access to the `FrameworkInfo` for that task's framework. However, that is not the case if the master has failed over and the framework has not yet reregistered wi

[3/3] mesos git commit: Tweaked test comments.

2016-10-03 Thread vinodkone
Tweaked test comments. Review: https://reviews.apache.org/r/52175/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3af5f551 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3af5f551 Diff: http://git-wip-us.apache.org/r

[1/3] mesos git commit: Cleaned up some code for managing recovered frameworks.

2016-10-03 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 8bab70c69 -> 3af5f5512 Cleaned up some code for managing recovered frameworks. Review: https://reviews.apache.org/r/52214/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/com

[1/2] mesos git commit: Fixed master to properly handle pending tasks.

2016-09-30 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/0.27.x ed0a8762e -> d1f8dee62 Fixed master to properly handle pending tasks. NOTE: This backported patch has been modified. Pending tasks are always removed from frameworks `pending` map, irrespective of whether the task launch is successful or n

[2/2] mesos git commit: Backported MESOS-6299 for 0.27.4.

2016-09-30 Thread vinodkone
Backported MESOS-6299 for 0.27.4. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d1f8dee6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d1f8dee6 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d1f8dee6 Bran

[1/2] mesos git commit: Fixed master to properly handle pending tasks.

2016-09-30 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/0.28.x d01e3f04c -> a429a3688 Fixed master to properly handle pending tasks. NOTE: This backported patch has been modified. Pending tasks are always removed from frameworks `pending` map, irrespective of whether the task launch is successful or n

[2/2] mesos git commit: Backported MESOS-6299 for 0.28.3.

2016-09-30 Thread vinodkone
Backported MESOS-6299 for 0.28.3. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a429a368 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a429a368 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a429a368 Bran

[1/2] mesos git commit: Fixed master to properly handle pending tasks.

2016-09-30 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x d6d1406a9 -> 6e503351a Fixed master to properly handle pending tasks. NOTE: This backported patch has been modified. Pending tasks are always removed from frameworks `pending` map, irrespective of whether the task launch is successful or no

[2/2] mesos git commit: Backported MESOS-6299 for 1.0.2.

2016-09-30 Thread vinodkone
Backported MESOS-6299 for 1.0.2. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6e503351 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6e503351 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6e503351 Branc

mesos git commit: Fixed master to properly handle pending tasks.

2016-09-30 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9da692ac7 -> e3836e964 Fixed master to properly handle pending tasks. Pending tasks are always removed from frameworks `pending` map, irrespective of whether the task launch is successful or not. Review: https://reviews.apache.org/r/52440

[1/2] mesos git commit: Fixed logging in composing containerizer.

2016-09-29 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9dc41c492 -> 700f04002 Fixed logging in composing containerizer. In addition to removing quotes, removed Container ID in the returned error messages because the caller knows it already. Review: https://reviews.apache.org/r/52329 Project:

[2/2] mesos git commit: Fixed the race between launch and destroy in composing containerizer.

2016-09-29 Thread vinodkone
Fixed the race between launch and destroy in composing containerizer. Review: https://reviews.apache.org/r/52330 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/700f0400 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree

mesos git commit: Avoid redirect loop in `/redirect/xxx` in the master.

2016-09-29 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9536dbc09 -> 9dc41c492 Avoid redirect loop in `/redirect/xxx` in the master. Detect paths starting with `/redirect/` or `/master_id/redirect/` and return 404 instead of getting into a redirect loop. Review: https://reviews.apache.org/r/521

mesos git commit: Fixed composing containerizer to handled nested containers.

2016-09-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 1beef7dab -> 31350f9d3 Fixed composing containerizer to handled nested containers. Made composing containerizer nesting aware so that operators can enable both mesos and docker containerizers on agents. Ofcourse docker containerizer is not

mesos git commit: Added support for CNI networks for `--task_group`.

2016-09-22 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master e0b672145 -> c13644984 Added support for CNI networks for `--task_group`. Review: https://reviews.apache.org/r/52177/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c

[1/2] mesos git commit: Terminate when receiving the ACK of terminal status update.

2016-09-22 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 5e23edd51 -> 2158f3d86 Terminate when receiving the ACK of terminal status update. Review: https://reviews.apache.org/r/46187/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos

[2/2] mesos git commit: Added the test `HTTPCommandExecutorTest.TerminateWithACK`.

2016-09-22 Thread vinodkone
Added the test `HTTPCommandExecutorTest.TerminateWithACK`. Review: https://reviews.apache.org/r/52075/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2158f3d8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2158f3d8

mesos git commit: Missing `endl` in `cout` for default executor.

2016-09-20 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master d2b3d365c -> 8483fa8a9 Missing `endl` in `cout` for default executor. Review: https://reviews.apache.org/r/52109/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8483f

[2/3] mesos git commit: Updated default executor to set `healthy` status in status update.

2016-09-20 Thread vinodkone
Updated default executor to set `healthy` status in status update. Right now the executor always sets the health status as true. In the future this will be based on the health checker. Review: https://reviews.apache.org/r/52107 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos git commit: Updated the default executor to not automatically send TASK_FINISHED.

2016-09-20 Thread vinodkone
Updated the default executor to not automatically send TASK_FINISHED. Also updated the test accordingly. Review: https://reviews.apache.org/r/52106 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a6dfbbb8 Tree: http://git-wi

[1/3] mesos git commit: Updated default executor to send TASK_KILLED updates.

2016-09-20 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9303db67c -> d2b3d365c Updated default executor to send TASK_KILLED updates. Just like LAUNCH_GROUP implementation this is a dummy implementation that sends the TASK_KILLED upates without doing any actual kills. Review: https://reviews.apa

mesos git commit: Add Mao Geng into contributors.

2016-09-19 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master ac2e9e2ac -> 1bc3b913e Add Mao Geng into contributors. This closes #167 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1bc3b913 Tree: http://git-wip-us.apache.org/rep

mesos git commit: Moved `CHECK_NE` close to the `if (task.isSome())`.

2016-09-19 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 29236068f -> ac2e9e2ac Moved `CHECK_NE` close to the `if (task.isSome())`. Review: https://reviews.apache.org/r/52069/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/

[21/27] mesos git commit: Ignored agent registrations with duplicate agent IDs.

2016-09-19 Thread vinodkone
Ignored agent registrations with duplicate agent IDs. If an agent attempts to register and is assigned an agent ID that already appears in the registry, the likely cause is a UUID collision: slave IDs are prefixed with master IDs, and master IDs are randomly generated UUIDs. UUID collisions are ex

[20/27] mesos git commit: Added benchmarks for new registry operations.

2016-09-19 Thread vinodkone
Added benchmarks for new registry operations. These benchmarks cover: 1. The time taken to make all registered agents unreachable and then reachable. This is similar to what happens during a severe network partition. 2. The time taken to GC a significant fraction (50%) of the

[04/27] mesos git commit: Fixed outdated comment.

2016-09-19 Thread vinodkone
Fixed outdated comment. Review: https://reviews.apache.org/r/50844/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/06506fae Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/06506fae Diff: http://git-wip-us.apache.org/

[22/27] mesos git commit: Changed registrar operations to no longer depend on "strict" flag.

2016-09-19 Thread vinodkone
Changed registrar operations to no longer depend on "strict" flag. Registrar operations to admit and remove slaves now behave the same way, regardless of the value of the "strict" flag. This commit changes the behavior of these operations by enabling the previous "strict" behavior. For example, r

[07/27] mesos git commit: Clarified a log message.

2016-09-19 Thread vinodkone
Clarified a log message. Review: https://reviews.apache.org/r/51020/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/df037de6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/df037de6 Diff: http://git-wip-us.apache.org

[17/27] mesos git commit: Updated master to send TASK_UNREACHABLE task state.

2016-09-19 Thread vinodkone
Updated master to send TASK_UNREACHABLE task state. When a task launched by a partition-aware framework is running on an agent that becomes partitioned from the master, the framework will now receive TASK_UNREACHABLE, not TASK_LOST. Similarly, when a partition-aware framework does explicit reconc

[03/27] mesos git commit: Added test for race between health checks and agent unregistration.

2016-09-19 Thread vinodkone
Added test for race between health checks and agent unregistration. This test tries to simulate a race between marking an agent unhealthy and receiving an `UnregisterSlaveMessage` for that agent. Unfortunately, this test is a little fragile (we need to manually dispatch an event to the master pro

[10/27] mesos git commit: Introduced MockRegistrar.

2016-09-19 Thread vinodkone
Introduced MockRegistrar. This allows test cases to inspect how the master interacts with the registry. This commit changes `tests::cluster::Master` to use `MockRegistrar` exclusively, even for test cases that aren't interested in mocking aspects of the master <-> registrar interaction. However,

[14/27] mesos git commit: Tweaked logging for UnregisterSlaveMessage handler.

2016-09-19 Thread vinodkone
Tweaked logging for UnregisterSlaveMessage handler. Remove a redundant log line: rather than logging when we receive an UnregisterSlaveMessage, it is sufficient to log how we handle that message. Also ensure that we log when ignoring an agent unregister message for an unknown agent, and do some mi

[26/27] mesos git commit: Removed "strictness" parameter from RegistrarTest and PartitionTest.

2016-09-19 Thread vinodkone
Removed "strictness" parameter from RegistrarTest and PartitionTest. This parameter should no longer result in any difference in behavior. Review: https://reviews.apache.org/r/51957/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/

[15/27] mesos git commit: Handled agents failing health checks multiple times.

2016-09-19 Thread vinodkone
Handled agents failing health checks multiple times. Now that we wait for the agent to be removed from the registry before stopping the SlaveObserver, it is possible for an agent to fail health checks multiple times if the registry operation takes longer than `agent_ping_timeout`. This commit upd

[16/27] mesos git commit: Fixed races between "unreachable" and "unregister" slave transitions.

2016-09-19 Thread vinodkone
Fixed races between "unreachable" and "unregister" slave transitions. Now that we update the registry before updating the master's state when performing these transitions, it is possible for the master to already be marking a slave unreachable when an `UnregisterSlaveMessage` is received, or vice

[01/27] mesos git commit: Changed master to allow partitioned slaves to reregister.

2016-09-19 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 34e1240d5 -> 29236068f Changed master to allow partitioned slaves to reregister. The previous behavior was to shutdown partitioned agents that attempt to reregister---unless the master has failed over, in which case the reregistration is al

[09/27] mesos git commit: Change registry update order on removal, mark-unreachable.

2016-09-19 Thread vinodkone
Change registry update order on removal, mark-unreachable. This commit changes the master so that we always update the registry for an important change (e.g., removing an agent or marking an agent unreachable), before updating the important parts of the master's in-memory state (e.g., the in-memor

[18/27] mesos git commit: Improved SlaveTest.HealthCheckUnregisterRace.

2016-09-19 Thread vinodkone
Improved SlaveTest.HealthCheckUnregisterRace. Now that the MockRegistrar has been introduced, we can assert that the master doesn't do a registry operation in certain situations. Review: https://reviews.apache.org/r/51845/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http:

[27/27] mesos git commit: Removed use of "--registry_strict" master flag.

2016-09-19 Thread vinodkone
Removed use of "--registry_strict" master flag. The flag will remain for a few more months per the deprecation policy, but we no longer need to set it in the unit tests. Providing an extensive usage summary in "--help" output also doesn't seem useful. Review: https://reviews.apache.org/r/51958/

[24/27] mesos git commit: Removed dependency on "registry_strict" in master failover.

2016-09-19 Thread vinodkone
Removed dependency on "registry_strict" in master failover. When the master fails over, agents have `agent_reregister_timeout` to reregister with the new master. Any agents that fail to reregister within the timeout will be marked unreachable in the registry. Previously, frameworks would only rece

[25/27] mesos git commit: Squelched GMock warning in MasterTest.RecoveredSlaveCanReregister.

2016-09-19 Thread vinodkone
Squelched GMock warning in MasterTest.RecoveredSlaveCanReregister. After the slave reregisters, the framework might receive an offer for the resources on that slave. Review: https://reviews.apache.org/r/51956/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.

[11/27] mesos git commit: Adjusted existing tests to use MockRegistrar.

2016-09-19 Thread vinodkone
Adjusted existing tests to use MockRegistrar. This means that `Master::_reregisterSlave` can be made private. Review: https://reviews.apache.org/r/51376/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/87b94314 Tree: http://

[06/27] mesos git commit: Added more assertions to the master.

2016-09-19 Thread vinodkone
Added more assertions to the master. Review: https://reviews.apache.org/r/50846/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3cecdbdd Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3cecdbdd Diff: http://git-wip-u

[12/27] mesos git commit: Added test for HTTP endpoints during slave removal.

2016-09-19 Thread vinodkone
Added test for HTTP endpoints during slave removal. When a slave is being removed but before the registry operation to remove it has completed, querying the HTTP endpoints at the master should not indicate that the slave has been removed yet. This is important because the registry update might fai

[13/27] mesos git commit: Added GC of unreachable agent metadata from the registry.

2016-09-19 Thread vinodkone
Added GC of unreachable agent metadata from the registry. Information about agents that have been marked unreachable is stored in the registry. Since the number of unreachable agents can grow without bound, this commit implements a garbage collection scheme. The current leading master will periodi

[23/27] mesos git commit: Removed the "strict" flag from the registry operation interface.

2016-09-19 Thread vinodkone
Removed the "strict" flag from the registry operation interface. This flag is now ignored by all registry operations, so this should not result in a functional change. Review: https://reviews.apache.org/r/51954/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-u

[05/27] mesos git commit: Added `unreachable_time` to TaskStatus.

2016-09-19 Thread vinodkone
Added `unreachable_time` to TaskStatus. This field contains the time at which the master marked an agent as unreachable. It will only be set for status updates (including reconciliation updates) that describe tasks running on unreachable (e.g., partitioned) agents. The intent is to help framework

[08/27] mesos git commit: Fixed flakiness in MasterAuthorizationTest.SlaveDisconnected.

2016-09-19 Thread vinodkone
Fixed flakiness in MasterAuthorizationTest.SlaveDisconnected. The goal of this test is to check this interleaving: task launch: block on authorization slave terminates gracefully: removed by master auth succeeds: we expect the task launch to fail However, the test neglected to ensure that

[02/27] mesos git commit: Added test cases for PARTITION_AWARE behavior.

2016-09-19 Thread vinodkone
Added test cases for PARTITION_AWARE behavior. Review: https://reviews.apache.org/r/50706/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9ba79dae Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9ba79dae Diff: http:/

[19/27] mesos git commit: Added test case for registry GC race condition.

2016-09-19 Thread vinodkone
Added test case for registry GC race condition. If GC occurs concurrently with another operation that changes the registry (e.g., reregistration of an agent that is also going to be removed by the GC operation), the GC might not be able to prune as many entries as expected from the registry. Alon

[4/4] mesos git commit: Updated mesos-execute to support task groups.

2016-09-19 Thread vinodkone
Updated mesos-execute to support task groups. Through this patch, mesos-execute supports running task groups. Single task provided through command line option is supported as well for backward compatibility. Review: https://reviews.apache.org/r/51623/ Project: http://git-wip-us.apache.org/repos

[2/4] mesos git commit: Added parse function in flags namespace for v1::TaskGroupInfo protobuf.

2016-09-19 Thread vinodkone
Added parse function in flags namespace for v1::TaskGroupInfo protobuf. Review: https://reviews.apache.org/r/51991/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9a9610d0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/t

[3/4] mesos git commit: Added << operator to stringify v1::TaskGroupInfo protobuf.

2016-09-19 Thread vinodkone
Added << operator to stringify v1::TaskGroupInfo protobuf. This patch is needed as Flags add() function needs to stringify v1::TaskGroupInfo before it is parsed to a variable of that type. Review: https://reviews.apache.org/r/51990/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Com

[1/4] mesos git commit: Refactored commandScheduler in cli/execute.cpp to take TaskInfo.

2016-09-19 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master be5b76bbd -> f162ade0f Refactored commandScheduler in cli/execute.cpp to take TaskInfo. This refactoring was needed for better accomodating pod support for mesos-execute. Review: https://reviews.apache.org/r/51978/ Project: http://git-wi

mesos git commit: Updated master validation for DOCKER ContainerInfo in TaskGroup.

2016-09-13 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master aeaec8940 -> 9f73082aa Updated master validation for DOCKER ContainerInfo in TaskGroup. DOCKER as ContainerInfo Type for both task group executor as well as taskgroup task is currently not supported. Only MESOS as ContainerInfo Type is supp

mesos git commit: Fixed line wrap in executor.proto.

2016-09-13 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 2d18088c2 -> cde295a14 Fixed line wrap in executor.proto. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cde295a1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tr

mesos git commit: Added meta tags in project website to support Twitter Cards.

2016-09-12 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 3562f95d0 -> 0b623f9d2 Added meta tags in project website to support Twitter Cards. Slack depends on Twitter Summary Card to show small preview logo. This patch followed https://dev.twitter.com/cards/types/summary to add meta tags in projec

mesos git commit: Exposed metrics in scheduler library.

2016-09-09 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 89b43e003 -> 02f13c9aa Exposed metrics in scheduler library. Exposed metrics scheduler/event_queue_messages(size of message queue) and scheduler/event_queue_dispatches (size of dispatch queue) in scheduler library. Review: https://reviews.

mesos git commit: Added documentation for Nvidia GPU support.

2016-09-08 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 207b3c0fa -> f6089bdf8 Added documentation for Nvidia GPU support. Review: https://reviews.apache.org/r/46220/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f6089bdf

mesos git commit: Updated TaskGroupValidationTest.TaskUsesNetworkInfo use two tasks.

2016-09-06 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 24f85fa8a -> 19c9f09ea Updated TaskGroupValidationTest.TaskUsesNetworkInfo use two tasks. This patch updated TaskGroupValidationTest.TaskUsesNetworkInfo to have two tasks in the task group. Review: https://reviews.apache.org/r/51481/ Pro

<    1   2   3   4   5   6   7   8   9   10   >