Fixed typos in comments and docs. Review: https://reviews.apache.org/r/39086
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d68eed9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d68eed9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1d68eed9 Branch: refs/heads/master Commit: 1d68eed9089659b06a1e710f707818dbcafeec52 Parents: e61ec3f Author: Gastón Kleiman <[email protected]> Authored: Sat Oct 10 08:51:44 2015 -0700 Committer: Joris Van Remoortere <[email protected]> Committed: Sat Oct 10 08:54:45 2015 -0700 ---------------------------------------------------------------------- docs/fetcher.md | 2 +- include/mesos/mesos.proto | 10 +++++----- include/mesos/v1/mesos.proto | 6 +++--- src/slave/containerizer/docker.cpp | 2 +- src/zookeeper/authentication.hpp | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/1d68eed9/docs/fetcher.md ---------------------------------------------------------------------- diff --git a/docs/fetcher.md b/docs/fetcher.md index 36351a3..af1d29b 100644 --- a/docs/fetcher.md +++ b/docs/fetcher.md @@ -41,7 +41,7 @@ detailed fetch action descriptions. Frameworks launch tasks by calling the scheduler driver method `launchTasks()`, passing `CommandInfo` protobuf structures as arguments. This type of structure specifies (among other things) a command and a list of URIs that need to be -"fetched" into the sandbox directory on the the slave node as a precondition for +"fetched" into the sandbox directory on the slave node as a precondition for task execution. Hence, when the slave receives a request go launch a task, it calls upon its fetcher, first, to provision the specified resources into the sandbox directory. If fetching fails, the task is not started and the reported http://git-wip-us.apache.org/repos/asf/mesos/blob/1d68eed9/include/mesos/mesos.proto ---------------------------------------------------------------------- diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto index 4a16be1..579e32c 100644 --- a/include/mesos/mesos.proto +++ b/include/mesos/mesos.proto @@ -1004,11 +1004,11 @@ message InverseOffer { // // For reserved resources, the resources are expected to be returned to the // framework after the unavailability interval. This is an expectation, - // not a guarantee. For example, if the unavailiability duration is not set, - // the resources may be removed permenantly. + // not a guarantee. For example, if the unavailability duration is not set, + // the resources may be removed permanently. // // For other resources, there is no guarantee that requested resources will - // be returned after the unavailiability interval. The allocator has no + // be returned after the unavailability interval. The allocator has no // obligation to re-offer these resources to the prior framework after // the unavailability. required Unavailability unavailability = 5; @@ -1241,7 +1241,7 @@ message RateLimit { optional double qps = 1; // Principal of framework(s) to be throttled. Should match - // FrameworkInfo.princpal and Credential.principal (if using authentication). + // FrameworkInfo.principal and Credential.principal (if using authentication). required string principal = 2; // Max number of outstanding messages from frameworks of this principal @@ -1349,7 +1349,7 @@ message Volume { /** * Describes a network request by framework as well as network resolution - * provided by the the executor or Agent. + * provided by the executor or Agent. * * A framework may request the network isolator on the Agent to assign an IP * address to the container being launched. Alternatively, it can provide a http://git-wip-us.apache.org/repos/asf/mesos/blob/1d68eed9/include/mesos/v1/mesos.proto ---------------------------------------------------------------------- diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto index eadbc9d..af18306 100644 --- a/include/mesos/v1/mesos.proto +++ b/include/mesos/v1/mesos.proto @@ -999,11 +999,11 @@ message InverseOffer { // // For reserved resources, the resources are expected to be returned to the // framework after the unavailability interval. This is an expectation, - // not a guarantee. For example, if the unavailiability duration is not set, + // not a guarantee. For example, if the unavailability duration is not set, // the resources may be removed permenantly. // // For other resources, there is no guarantee that requested resources will - // be returned after the unavailiability interval. The allocator has no + // be returned after the unavailability interval. The allocator has no // obligation to re-offer these resources to the prior framework after // the unavailability. required Unavailability unavailability = 5; @@ -1232,7 +1232,7 @@ message RateLimit { optional double qps = 1; // Principal of framework(s) to be throttled. Should match - // FrameworkInfo.princpal and Credential.principal (if using authentication). + // FrameworkInfo.principal and Credential.principal (if using authentication). required string principal = 2; // Max number of outstanding messages from frameworks of this principal http://git-wip-us.apache.org/repos/asf/mesos/blob/1d68eed9/src/slave/containerizer/docker.cpp ---------------------------------------------------------------------- diff --git a/src/slave/containerizer/docker.cpp b/src/slave/containerizer/docker.cpp index 6c975f9..174448c 100644 --- a/src/slave/containerizer/docker.cpp +++ b/src/slave/containerizer/docker.cpp @@ -1064,7 +1064,7 @@ Future<Nothing> DockerContainerizerProcess::__update( pid_t pid) { #ifdef __linux__ - // Determine the the cgroups hierarchies where the 'cpu' and + // Determine the cgroups hierarchies where the 'cpu' and // 'memory' subsystems are mounted (they may be the same). Note that // we make these static so we can reuse the result for subsequent // calls. http://git-wip-us.apache.org/repos/asf/mesos/blob/1d68eed9/src/zookeeper/authentication.hpp ---------------------------------------------------------------------- diff --git a/src/zookeeper/authentication.hpp b/src/zookeeper/authentication.hpp index 5919ec0..eee9751 100644 --- a/src/zookeeper/authentication.hpp +++ b/src/zookeeper/authentication.hpp @@ -49,7 +49,7 @@ struct Authentication extern const ACL_vector EVERYONE_READ_CREATOR_ALL; // An ACL that allows others to create child nodes and read nodes, but -// we're the the only authenticated user to mutate our nodes. +// we're the only authenticated user to mutate our nodes. extern const ACL_vector EVERYONE_CREATE_AND_READ_CREATOR_ALL;
