[4/5] mesos git commit: Removed the TODO in AgentAPITest.AttachContainerOutputFailure test.

2016-12-11 Thread vinodkone
Removed the TODO in AgentAPITest.AttachContainerOutputFailure test. This test is still valuable to test the case when a containerizer does not support `attach`, e.g., DockerContainerizer. Review: https://reviews.apache.org/r/54516 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commi

[2/5] mesos git commit: Cleaned up expectations in api_tests.cpp.

2016-12-11 Thread vinodkone
Cleaned up expectations in api_tests.cpp. Changed `EXPECT_EQ` to `ASSERRT_EQ` for cases where assertion is more appropriate. Review: https://reviews.apache.org/r/54545 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fdc366cf

[1/5] mesos git commit: Added new test for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-11 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master f5c69c4e1 -> 3dac2664f Added new test for LAUNCH_NESTED_CONTAINER_SESSION. This test verifies that launch results in output being streamed. Review: https://reviews.apache.org/r/54281 Project: http://git-wip-us.apache.org/repos/asf/mesos/

[3/5] mesos git commit: Added a TTY test for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-11 Thread vinodkone
Added a TTY test for LAUNCH_NESTED_CONTAINER_SESSION. Test verifies that output and error are sent as stdout to client. Review: https://reviews.apache.org/r/54508 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8804fd3e Tree

mesos git commit: Added agent API test for attaching input to a nested container session.

2016-12-10 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master e60d231b5 -> f5c69c4e1 Added agent API test for attaching input to a nested container session. Review: https://reviews.apache.org/r/54632/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/rep

[3/9] mesos git commit: Refactored representation of framework connectedness.

2016-12-07 Thread vinodkone
Refactored representation of framework connectedness. Previously, the master used a bool to track whether a given framework is connected. This commit adjusts the master to use an enum instead. The enum currently only has two values, CONNECTED and DISCONNECTED, but an additional value (RECOVERED) w

[7/9] mesos git commit: Don't send PIDs of disconnected frameworks to re-registering agents.

2016-12-07 Thread vinodkone
Don't send PIDs of disconnected frameworks to re-registering agents. Review: https://reviews.apache.org/r/54380/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/310864a4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree

[9/9] mesos git commit: Simplified some test code.

2016-12-07 Thread vinodkone
Simplified some test code. Review: https://reviews.apache.org/r/54177/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1350f946 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1350f946 Diff: http://git-wip-us.apache.o

[2/9] mesos git commit: Changed the allocator API to allow adding inactive frameworks.

2016-12-07 Thread vinodkone
Changed the allocator API to allow adding inactive frameworks. Previously, a newly added framework was assumed to always be active. Adding inactive frameworks will be used to support recovered frameworks that haven't yet re-registered. Review: https://reviews.apache.org/r/53895/ Project: http:/

[4/9] mesos git commit: Changed how master represents "recovered" frameworks.

2016-12-07 Thread vinodkone
Changed how master represents "recovered" frameworks. After master failover, the new master doesn't know which frameworks were registered with the previous master (because this information is not currently stored in the registry). In the period after the master fails over but before the framework

[8/9] mesos git commit: Removed an inaccurate comment.

2016-12-07 Thread vinodkone
Removed an inaccurate comment. Review: https://reviews.apache.org/r/54387/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/89c72283 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/89c72283 Diff: http://git-wip-us.apac

[5/9] mesos git commit: Fixed incorrect warning messages.

2016-12-07 Thread vinodkone
Fixed incorrect warning messages. These warning messages printed the old value of the `FrameworkInfo` field, not the new (ignored) value. Review: https://reviews.apache.org/r/54467/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/c

[1/9] mesos git commit: Ensured master always relinks during scheduler re-registration.

2016-12-07 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master bc3b7ab3e -> 1350f946a Ensured master always relinks during scheduler re-registration. In the following scenario: * Master sees a re-registration attempt from a PID-based scheduler, * The scheduler was previously registered with the mas

[6/9] mesos git commit: Added some additional CHECKs to the master.

2016-12-07 Thread vinodkone
Added some additional CHECKs to the master. Review: https://reviews.apache.org/r/54468/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c0504ff2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c0504ff2 Diff: http://gi

mesos git commit: Added Mesos logo to the list of files installed for the web UI.

2016-12-07 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a56734506 -> 8dcef9c62 Added Mesos logo to the list of files installed for the web UI. The Mesos logo was recently added to the web UI. However, the new file was not added to the list of UI-related files which are installed by the build sys

[03/10] mesos git commit: Improved FaultToleranceTest.FrameworkReregister.

2016-12-02 Thread vinodkone
Improved FaultToleranceTest.FrameworkReregister. Code cleanup; also check output of the "/state" endpoint. Review: https://reviews.apache.org/r/53887/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8030108b Tree: http://git

[05/10] mesos git commit: Improved comments in the master.

2016-12-02 Thread vinodkone
Improved comments in the master. Review: https://reviews.apache.org/r/53889/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9ccfa5c1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9ccfa5c1 Diff: http://git-wip-us.ap

[02/10] mesos git commit: Improved TeardownTest.Success.

2016-12-02 Thread vinodkone
Improved TeardownTest.Success. Check that when a framework is shutdown, this is appropriately reflected in the content of the master's "/state" endpoint. Review: https://reviews.apache.org/r/53886/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/r

[10/10] mesos git commit: Added helper function, `Master::isCompletedFramework`.

2016-12-02 Thread vinodkone
Added helper function, `Master::isCompletedFramework`. Review: https://reviews.apache.org/r/53894/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0ff16324 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0ff16324 Diff

[06/10] mesos git commit: Tweaked usage of `getFramework`.

2016-12-02 Thread vinodkone
Tweaked usage of `getFramework`. In a few places, calls to `getFramework` can be hoisted out of an inner loop. This improves code clarity (as well as maybe saving a few cycles). A call to `getFramework` can be hoisted out of an inner loop. Review: https://reviews.apache.org/r/53890/ Project: h

[09/10] mesos git commit: Avoided sending `LostSlaveMessage` to disconnected frameworks.

2016-12-02 Thread vinodkone
Avoided sending `LostSlaveMessage` to disconnected frameworks. Since we don't attempt to send messages to disconnected frameworks, this would only have resulted in a warning message in the master logs anyway. Review: https://reviews.apache.org/r/53893/ Project: http://git-wip-us.apache.org/repo

[08/10] mesos git commit: Fixed typo, removed hard tab character.

2016-12-02 Thread vinodkone
Fixed typo, removed hard tab character. Review: https://reviews.apache.org/r/53892/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9b6ebc3e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9b6ebc3e Diff: http://git-wi

[01/10] mesos git commit: Removed stuttering from teardown test names.

2016-12-02 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master d32de003a -> 0ff163246 Removed stuttering from teardown test names. Review: https://reviews.apache.org/r/53885/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b83add1

[07/10] mesos git commit: Replaced "slave" with "agent" in status update messages.

2016-12-02 Thread vinodkone
Replaced "slave" with "agent" in status update messages. Review: https://reviews.apache.org/r/53891/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f9b3c6b6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f9b3c6b6 Di

[04/10] mesos git commit: Improved SlaveRecoveryTest.ReconcileShutdownFramework.

2016-12-02 Thread vinodkone
Improved SlaveRecoveryTest.ReconcileShutdownFramework. Check the output of the "/state" endpoint to confirm that the framework has been shutdown properly and the task has been marked as killed. Review: https://reviews.apache.org/r/53888/ Project: http://git-wip-us.apache.org/repos/asf/mesos/rep

mesos git commit: Updated no-longer-accurate comment.

2016-12-02 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 0e0fc463b -> 4cec92ff8 Updated no-longer-accurate comment. Review: https://reviews.apache.org/r/53310/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4cec92ff Tree: h

[4/4] mesos git commit: Updated signatures of v1 agent API handlers.

2016-12-01 Thread vinodkone
Updated signatures of v1 agent API handlers. Moved the position of `contentType` argument in the handlers and renamed it to `acceptType` to be consistent. Review: https://reviews.apache.org/r/54245 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/r

[1/4] mesos git commit: Added API handler for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-01 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 800c629a8 -> 0e0fc463b Added API handler for LAUNCH_NESTED_CONTAINER_SESSION. In addition to launching the nested container the API handler ensures that the container is destroyed if the connection breaks. Review: https://reviews.apache.or

[3/4] mesos git commit: Added `devolve` helper for `ContainerID`.

2016-12-01 Thread vinodkone
Added `devolve` helper for `ContainerID`. This will be used subsequently. Review: https://reviews.apache.org/r/54194 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ec009f45 Tree: http://git-wip-us.apache.org/repos/asf/mesos

[2/4] mesos git commit: Refactored `Slave::Http::launchNestedContainer()`.

2016-12-01 Thread vinodkone
Refactored `Slave::Http::launchNestedContainer()`. This so that code can be reused for `launchNestedContainerSession()` that will be added later. No functional change. Review: https://reviews.apache.org/r/54193 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us

mesos git commit: Updated MockContainerizer interface with `attach()`.

2016-11-30 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b008beb2e -> 55d7c7181 Updated MockContainerizer interface with `attach()`. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/55d7c718 Tree: http://git-wip-us.apache.org/

[2/6] mesos git commit: Fixed a bug in scheduler library.

2016-11-28 Thread vinodkone
Fixed a bug in scheduler library. This bug fixes handling of EOF and deserialization errors. Review: https://reviews.apache.org/r/54048 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/06474801 Tree: http://git-wip-us.apache.

[5/6] mesos git commit: Added API handler for ATTACH_CONTAINER_OUTPUT.

2016-11-28 Thread vinodkone
Added API handler for ATTACH_CONTAINER_OUTPUT. Review: https://reviews.apache.org/r/53995 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d536a135 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d536a135 Diff: http://

[4/6] mesos git commit: Aliased `process::http` namespace to `http`.

2016-11-28 Thread vinodkone
Aliased `process::http` namespace to `http`. This clarifies usage of objects from different namespaces, e.g., http::Request vs mesos::Request. Review: https://reviews.apache.org/r/54049 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mes

[3/6] mesos git commit: Added streaming support to `/api/v1` handler on the agent.

2016-11-28 Thread vinodkone
Added streaming support to `/api/v1` handler on the agent. Note that this change only updates the handler to correctly handle non-streaming calls given it receives `PIPE` requests. Handling streaming calls will come later. Review: https://reviews.apache.org/r/53994 Project: http://git-wip-us.ap

[1/6] mesos git commit: Refactored recordio::ReaderProcess to be managed by gc.

2016-11-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 58f63747f -> d536a135d Refactored recordio::ReaderProcess to be managed by gc. This ensures that callers do not accidentally wait on the `read` future and end up waiting on ReaderProcess from within the context of the ReaderProcess. Review

[6/6] mesos git commit: Added `recordio::transform` helper.

2016-11-28 Thread vinodkone
Added `recordio::transform` helper. This helper lets us transform raw bytes read from a RecordIO reader and write to a pipe. Review: https://reviews.apache.org/r/54039 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/95030c59

mesos git commit: Added `attach()` call to the Containerizer.

2016-11-22 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 1a525d22d -> 6850435ff Added `attach()` call to the Containerizer. This is just an API change, there is no implementation yet. Review: https://reviews.apache.org/r/53795/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fix mesos-execute default content type flag.

2016-11-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 2abf2f7b3 -> b5c11a2e8 Fix mesos-execute default content type flag. Review: https://reviews.apache.org/r/53957/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b5c11a2

mesos git commit: Removed duplicate note.

2016-11-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a8d5cae9b -> 1881bab2e Removed duplicate note. Review: https://reviews.apache.org/r/53879/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1881bab2 Tree: http://git-wi

mesos git commit: Add a content type option to mesos-execute.

2016-11-15 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master c75cb8cdd -> 40c2e5ffb Add a content type option to mesos-execute. Using the JSON content type in mesos-execute makes packet tracing protocol interactions easier. Add a --content_type option that switched between protobuf (the default) and

svn commit: r17014 - in /release/mesos/1.0.2: ./ mesos-1.0.2.tar.gz mesos-1.0.2.tar.gz.asc mesos-1.0.2.tar.gz.md5

2016-11-15 Thread vinodkone
Author: vinodkone Date: Tue Nov 15 19:21:03 2016 New Revision: 17014 Log: Adding mesos-1.0.2. Added: release/mesos/1.0.2/ release/mesos/1.0.2/mesos-1.0.2.tar.gz (with props) release/mesos/1.0.2/mesos-1.0.2.tar.gz.asc release/mesos/1.0.2/mesos-1.0.2.tar.gz.md5 Added: release

[mesos] Git Push Summary

2016-11-15 Thread vinodkone
Repository: mesos Updated Tags: refs/tags/1.0.2 [created] 94abcf7c4

svn commit: r16878 - in /dev/mesos/1.0.2-rc3: ./ mesos-1.0.2.tar.gz mesos-1.0.2.tar.gz.asc mesos-1.0.2.tar.gz.md5

2016-11-07 Thread vinodkone
Author: vinodkone Date: Mon Nov 7 19:22:29 2016 New Revision: 16878 Log: Adding mesos-1.0.2-rc3. Added: dev/mesos/1.0.2-rc3/ dev/mesos/1.0.2-rc3/mesos-1.0.2.tar.gz (with props) dev/mesos/1.0.2-rc3/mesos-1.0.2.tar.gz.asc dev/mesos/1.0.2-rc3/mesos-1.0.2.tar.gz.md5 Added: dev

[mesos] Git Push Summary

2016-11-07 Thread vinodkone
Repository: mesos Updated Tags: refs/tags/1.0.2-rc3 [created] 94abcf7c4

mesos git commit: Fixed `DefaultExecutorTest.*` tests on hosts without Docker.

2016-11-07 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master f37c56f73 -> c7f723bf6 Fixed `DefaultExecutorTest.*` tests on hosts without Docker. Some of the tests are parameterized by the containerizers. Fixed the naming schema, so that the tests using the Docker containerizer run only if Docker is

mesos git commit: Removed unused function `paths::getArchiveDir`.

2016-11-04 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 937674935 -> 61de69849 Removed unused function `paths::getArchiveDir`. Review: https://reviews.apache.org/r/53065/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/61de

[1/2] mesos git commit: Added agent API protos for executing and attaching nested containers.

2016-11-04 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 19a352aac -> 937674935 Added agent API protos for executing and attaching nested containers. This patch only contains the proto definitions. The implementation is not yet present. Review: https://reviews.apache.org/r/53451 Project: http:

[2/2] mesos git commit: Added TTYInfo to ContainerInfo.

2016-11-04 Thread vinodkone
Added TTYInfo to ContainerInfo. Added to ContainerInfo because we want to be able to attach to containers that are launched without a CommandInfo. Review: https://reviews.apache.org/r/53450 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf

mesos git commit: Add ceph framework to the list.

2016-11-04 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 001216129 -> 55cb3cbbc Add ceph framework to the list. Review: https://reviews.apache.org/r/53499/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/55cb3cbb Tree: http:

svn commit: r16758 - in /dev/mesos/1.0.2-rc2: ./ mesos-1.0.2.tar.gz mesos-1.0.2.tar.gz.asc mesos-1.0.2.tar.gz.md5

2016-10-31 Thread vinodkone
Author: vinodkone Date: Mon Oct 31 23:34:20 2016 New Revision: 16758 Log: Adding mesos-1.0.2-rc2. Added: dev/mesos/1.0.2-rc2/ dev/mesos/1.0.2-rc2/mesos-1.0.2.tar.gz (with props) dev/mesos/1.0.2-rc2/mesos-1.0.2.tar.gz.asc dev/mesos/1.0.2-rc2/mesos-1.0.2.tar.gz.md5 Added: dev

[mesos] Git Push Summary

2016-10-31 Thread vinodkone
Repository: mesos Updated Tags: refs/tags/1.0.2-rc2 [created] 9e0f9505b

mesos git commit: Fixed flaky MasterTest.OrphanTasksMultipleAgents test.

2016-10-31 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 15d67d4a4 -> 81b3eef35 Fixed flaky MasterTest.OrphanTasksMultipleAgents test. See the attached bug for details. Review: https://reviews.apache.org/r/53318 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-

mesos git commit: Added a test for duplicate frameworks in "unregistered_frameworks".

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 83db4b0b5 -> d0d496b02 Added a test for duplicate frameworks in "unregistered_frameworks". Review: https://reviews.apache.org/r/53275 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/as

mesos git commit: Updated release guide.

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 82ec058e1 -> 73f5c37cc Updated release guide. Added information about release branches among other things. Review: https://reviews.apache.org/r/53005 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.ap

mesos git commit: Added MESOS-4973 and MESOS-6461 to 1.1.0 CHANGELOG.

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 9beb50742 -> f83e49f1a Added MESOS-4973 and MESOS-6461 to 1.1.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f83e49f1 Tree: http://git-wip-us.apache.org/r

[1/2] mesos git commit: Fixed duplicate framework ids in "unregistered_frameworks".

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.1.x f69dd55e8 -> 3c51acb88 Fixed duplicate framework ids in "unregistered_frameworks". The existing test (MasterTest.OrphanTasks) continues to pass after the change. I will try to write another test that spawns multiple agents to ensure the dupl

[2/2] mesos git commit: Added MESOS-4973 and MESOS-6461 to 1.1.0 CHANGELOG.

2016-10-28 Thread vinodkone
Added MESOS-4973 and MESOS-6461 to 1.1.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3c51acb8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3c51acb8 Diff: http://git-wip-us.apache.org/repos/asf/mesos/d

mesos git commit: Added MESOS-4973 and MESOS-6461 to 1.0.2 CHANGELOG.

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a9b85bee7 -> 9beb50742 Added MESOS-4973 and MESOS-6461 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/9beb5074 Tree: http://git-wip-us.apache.org/r

[2/2] mesos git commit: Added MESOS-4973 and MESOS-6461 to 1.0.2 CHANGELOG.

2016-10-28 Thread vinodkone
Added MESOS-4973 and MESOS-6461 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/d073ed53 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d073ed53 Diff: http://git-wip-us.apache.org/repos/asf/mesos/d

[1/2] mesos git commit: Fixed duplicate framework ids in "unregistered_frameworks".

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 43019066c -> d073ed53b Fixed duplicate framework ids in "unregistered_frameworks". The existing test (MasterTest.OrphanTasks) continues to pass after the change. I will try to write another test that spawns multiple agents to ensure the dupl

mesos git commit: Fixed duplicate framework ids in "unregistered_frameworks".

2016-10-28 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 25e00546d -> 9108822e5 Fixed duplicate framework ids in "unregistered_frameworks". The existing test (MasterTest.OrphanTasks) continues to pass after the change. I will try to write another test that spawns multiple agents to ensure the dup

[1/2] mesos git commit: Revert "Added MESOS-6446 to 1.0.2 CHANGELOG."

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master cc095bad7 -> d40a3cb95 Revert "Added MESOS-6446 to 1.0.2 CHANGELOG." This reverts commit cc095bad75ba9c469436e1d14760ae27f64d2f36. Reverted because the commit message is incorrect. It should be 1.1.0 instead of 1.0.2. Project: http://git

[3/3] mesos git commit: Added MESOS-6446 to 1.1.0 CHANGELOG.

2016-10-27 Thread vinodkone
Added MESOS-6446 to 1.1.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e69f819f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e69f819f Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e69f819f B

[2/3] mesos git commit: Fixed the broken metrics information of master in WebUI.

2016-10-27 Thread vinodkone
Fixed the broken metrics information of master in WebUI. After we introduced redirection on `/master/state` endpoint to the leading master in `c9153336`, the metrics information in the WebUI was broken when the current master is not the leading master. In this patch, we retrieve the leading maste

[1/3] mesos git commit: Show the leading master's information in `/master/state` endpoint.

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.1.x eeaeb7089 -> e69f819fc Show the leading master's information in `/master/state` endpoint. Review: https://reviews.apache.org/r/53193/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf

[2/2] mesos git commit: Added MESOS-6446 to 1.1.0 CHANGELOG.

2016-10-27 Thread vinodkone
Added MESOS-6446 to 1.1.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d40a3cb9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d40a3cb9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d40a3cb9 B

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

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master ac699771a -> cc095bad7 Added MESOS-6446 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/cc095bad Tree: http://git-wip-us.apache.org/repos/asf/mesos/

mesos git commit: Added MESOS-6446 to CHANGELOG for 1.0.2.

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b2fc58883 -> ac699771a Added MESOS-6446 to 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/ac699771 Tree: http://git-wip-us.apache.org/repos/asf/me

[1/3] mesos git commit: Show the leading master's information in `/master/state` endpoint.

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 5344b88c2 -> ec315f28e Show the leading master's information in `/master/state` endpoint. Review: https://reviews.apache.org/r/53193/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf

[3/3] mesos git commit: Added MESOS-6446 to CHANGELOG for 1.0.2.

2016-10-27 Thread vinodkone
Added MESOS-6446 to 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/ec315f28 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ec315f28 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ec315f2

[2/3] mesos git commit: Fixed the broken metrics information of master in WebUI.

2016-10-27 Thread vinodkone
Fixed the broken metrics information of master in WebUI. After we introduced redirection on `/master/state` endpoint to the leading master in `c9153336`, the metrics information in the WebUI was broken when the current master is not the leading master. In this patch, we retrieve the leading maste

[2/2] mesos git commit: Fixed the broken metrics information of master in WebUI.

2016-10-27 Thread vinodkone
Fixed the broken metrics information of master in WebUI. After we introduced redirection on `/master/state` endpoint to the leading master in `c9153336`, the metrics information in the WebUI was broken when the current master is not the leading master. In this patch, we retrieve the leading maste

[1/2] mesos git commit: Show the leading master's information in `/master/state` endpoint.

2016-10-27 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 3758aa1c9 -> b2fc58883 Show the leading master's information in `/master/state` endpoint. Review: https://reviews.apache.org/r/53193/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/as

mesos git commit: Fixed flakiness in `MasterTest.UnreachableTaskAfterFailover`.

2016-10-25 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.1.x e1b6b2145 -> eeaeb7089 Fixed flakiness in `MasterTest.UnreachableTaskAfterFailover`. After launching a task, we need to wait for the slave to receive the scheduler's ack of the initial TASK_RUNNING status update. If not, the status update mi

[4/4] mesos git commit: Added MESOS-6445 to CHANGELOG for 1.1.0.

2016-10-25 Thread vinodkone
Added MESOS-6445 to CHANGELOG for 1.1.0. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e1b6b214 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e1b6b214 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e1b6b21

[3/4] mesos git commit: Tweaked test expectation.

2016-10-25 Thread vinodkone
Tweaked test expectation. `WillOnce` is more accurate than `WillRepeatedly`. Review: https://reviews.apache.org/r/53098/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c6516be5 Tree: http://git-wip-us.apache.org/repos/asf/m

[2/4] mesos git commit: Fixed bug when marking agents unreachable after master failover.

2016-10-25 Thread vinodkone
Fixed bug when marking agents unreachable after master failover. If the master fails over and an agent does not re-register within the `agent_reregister_timeout`, the master marks the agent as unreachable in the registry and sends `slaveLost` for it. However, we neglected to update the master's in

[1/4] mesos git commit: Avoided passing `TimeInfo` by value.

2016-10-25 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.1.x c2cb47f78 -> e1b6b2145 Avoided passing `TimeInfo` by value. Although this is likely to remain small in practice, passing by const reference should be preferred until there is a reason not to. Review: https://reviews.apache.org/r/53099/ Pr

mesos git commit: Added MESOS-6445 to CHANGELOG for 1.1.0.

2016-10-25 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 16f479d15 -> d3f6c5c55 Added MESOS-6445 to CHANGELOG for 1.1.0. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d3f6c5c5 Tree: http://git-wip-us.apache.org/repos/asf/me

mesos git commit: Fixed flakiness in `MasterTest.UnreachableTaskAfterFailover`.

2016-10-24 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 28b71613c -> 99f290bcb Fixed flakiness in `MasterTest.UnreachableTaskAfterFailover`. After launching a task, we need to wait for the slave to receive the scheduler's ack of the initial TASK_RUNNING status update. If not, the status update m

[1/2] mesos git commit: Close socket after setting flags on the interface.

2016-10-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/1.0.x 56529fa99 -> 5344b88c2 Close socket after setting flags on the interface. Review: https://reviews.apache.org/r/53049/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3c

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

2016-10-21 Thread vinodkone
Added MESOS-6420 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/5344b88c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5344b88c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5344b88c B

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

2016-10-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master f9dfbdac7 -> 95153ca79 Added MESOS-6420 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/95153ca7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/

[2/3] mesos git commit: Fixed bug when marking agents unreachable after master failover.

2016-10-21 Thread vinodkone
Fixed bug when marking agents unreachable after master failover. If the master fails over and an agent does not re-register within the `agent_reregister_timeout`, the master marks the agent as unreachable in the registry and sends `slaveLost` for it. However, we neglected to update the master's in

[1/3] mesos git commit: Avoided passing `TimeInfo` by value.

2016-10-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 01aa3ba4a -> f9dfbdac7 Avoided passing `TimeInfo` by value. Although this is likely to remain small in practice, passing by const reference should be preferred until there is a reason not to. Review: https://reviews.apache.org/r/53099/ P

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

2016-10-21 Thread vinodkone
Tweaked test expectation. `WillOnce` is more accurate than `WillRepeatedly`. Review: https://reviews.apache.org/r/53098/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f9dfbdac Tree: http://git-wip-us.apache.org/repos/asf/m

[8/8] mesos git commit: Changed agent to send TASK_GONE.

2016-10-21 Thread vinodkone
Changed agent to send TASK_GONE. The agent previously sent TASK_LOST updates for tasks that are killed for various reasons, such as containerizer errors or QoS preemption. The agent now sends TASK_GONE to partition-aware frameworks instead. Review: https://reviews.apache.org/r/52803/ Project: h

[6/8] mesos git commit: Changed description of TASK_GONE.

2016-10-21 Thread vinodkone
Changed description of TASK_GONE. Review: https://reviews.apache.org/r/52801/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/976a1ebc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/976a1ebc Diff: http://git-wip-us.a

[1/8] mesos git commit: Fixed typo in log message.

2016-10-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 89e7d362e -> 01aa3ba4a Fixed typo in log message. Review: https://reviews.apache.org/r/52721/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9225ac29 Tree: http://git

[5/8] mesos git commit: Changed agent to send TASK_DROPPED for task launch failures.

2016-10-21 Thread vinodkone
Changed agent to send TASK_DROPPED for task launch failures. If the agent cannot launch a task due to a variety of possible error conditions, we now send TASK_DROPPED to partition-aware frameworks rather than TASK_LOST. Review: https://reviews.apache.org/r/52746/ Project: http://git-wip-us.apac

[4/8] mesos git commit: Refactored some code into a separate function.

2016-10-21 Thread vinodkone
Refactored some code into a separate function. Review: https://reviews.apache.org/r/52740/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0645e7d9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0645e7d9 Diff: http:/

[3/8] mesos git commit: Changed agent to send TASK_DROPPED during reconciliation.

2016-10-21 Thread vinodkone
Changed agent to send TASK_DROPPED during reconciliation. If a framework attempts to launch a task but the launch message is dropped after it reaches the master but before it reaches the slave, the failed launch will be detected during master <-> agent reconciliation when the agent re-registers. P

[7/8] mesos git commit: Added a new slave metric, "tasks_gone".

2016-10-21 Thread vinodkone
Added a new slave metric, "tasks_gone". Review: https://reviews.apache.org/r/52802/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b46df16d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b46df16d Diff: http://git-wi

[2/8] mesos git commit: Changed master to add `FrameworkInfo` to agent reconcilation.

2016-10-21 Thread vinodkone
Changed master to add `FrameworkInfo` to agent reconcilation. When an agent re-registers with a master that already knows about that agent, the master needs to reconcile its view of the state of the agent with the agent's current state. For any task that the master thinks should be on the agent bu

mesos git commit: Updated getting started for Ubuntu 16.04.

2016-10-21 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b75aa8ada -> 89e7d362e Updated getting started for Ubuntu 16.04. To follow the getting started instructions to install Mesos on Ubuntu 16.04, it is needed to install one more dependency. This closes #173 Project: http://git-wip-us.apache

[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

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