-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31390/#review73944
-----------------------------------------------------------


Bad patch!

Reviews applied: [31390]

Failed command: ./support/apply-review.sh -n -r 31390

Error:
 2015-02-25 00:14:17 URL:https://reviews.apache.org/r/31390/diff/raw/ 
[6009/6009] -> "31390.patch" [1]
31390.patch:12: trailing whitespace.
When your framework registers an executor or launches a task, it can provide 
additional information for service discovery. This information is stored by the 
Mesos master along with other imporant information such as the slave currently 
running the task. A service discovery system can programmatically retrieve this 
information in order to set up DNS entries, configure proxies, or update any 
consistent store used for service discovery in a Mesos cluster that runs 
multiple frameworks and multiple tasks. 
31390.patch:71: trailing whitespace.
Many service discovery systems provide additional features that manage the 
visibility of services (e.g., ACLs in proxy based systems, security extensions 
to DNS, VLAN or subnet selection). It is not the intended use of the visibility 
field to manage such features. When a service discovery system retrieves the 
task or executor information from the master, it can decide how to handle tasks 
without DiscoveryInfo. For instance, tasks may be made non discoverable to 
other frameworks (equivalent to `visibility=FRAMEWORK`) or discoverable to all 
frameworks (equivalent to `visibility=CLUSTER`). 
31390.patch:73: trailing whitespace.
The `name` field is a string that that provides the service discovery system 
with the name under which the task is discoverable. The typical use of the name 
field will be to provide a valid hostname. If name is not provided, it is up to 
the service discovery system to create a name for the task based on the name 
field in `taskInfo` or other information.  
31390.patch:75: trailing whitespace.
The `environment`, `location`, and `version` fields provide first class support 
for common attributes used to differentiate between similar services in large 
deployments. The `environment` may receive values such as `PROD/QA/DEV`, the 
`location field` may receive values like `EAST-US/WEST-US/EUROPE/AMEA`, and the 
`version` field may receive values like v2.0/v0.9. The exact use of these 
fields is up to the service discovery system. 
31390.patch:77: trailing whitespace.
The `ports` field allows the framework to identify the ports a task listens to 
and explicitly name the functionality they represent and the layer-4 protocol 
they use (TCP, UDP, or other). For example, a Cassandra task will define ports 
like `“7000,Cluster,TCP”`, `“7001,SSL,TCP”`, `“9160,Thrift,TCP”`, 
`“9042,Native,TCP”`, and `“7199,JMX,TCP”`. It is up to the service discovery 
system to use these names and protocol in appropriate ways, potentially 
combining them with the name field in DiscoveryInfo. 
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
Successfully applied: Added discovery info documentation.

Added discovery info documentation.


Review: https://reviews.apache.org/r/31390
docs/app-framework-development-guide.md:215: trailing whitespace.
+When your framework registers an executor or launches a task, it can provide 
additional information for service discovery. This information is stored by the 
Mesos master along with other imporant information such as the slave currently 
running the task. A service discovery system can programmatically retrieve this 
information in order to set up DNS entries, configure proxies, or update any 
consistent store used for service discovery in a Mesos cluster that runs 
multiple frameworks and multiple tasks. 
docs/app-framework-development-guide.md:274: trailing whitespace.
+Many service discovery systems provide additional features that manage the 
visibility of services (e.g., ACLs in proxy based systems, security extensions 
to DNS, VLAN or subnet selection). It is not the intended use of the visibility 
field to manage such features. When a service discovery system retrieves the 
task or executor information from the master, it can decide how to handle tasks 
without DiscoveryInfo. For instance, tasks may be made non discoverable to 
other frameworks (equivalent to `visibility=FRAMEWORK`) or discoverable to all 
frameworks (equivalent to `visibility=CLUSTER`). 
docs/app-framework-development-guide.md:276: trailing whitespace.
+The `name` field is a string that that provides the service discovery system 
with the name under which the task is discoverable. The typical use of the name 
field will be to provide a valid hostname. If name is not provided, it is up to 
the service discovery system to create a name for the task based on the name 
field in `taskInfo` or other information.  
docs/app-framework-development-guide.md:278: trailing whitespace.
+The `environment`, `location`, and `version` fields provide first class 
support for common attributes used to differentiate between similar services in 
large deployments. The `environment` may receive values such as `PROD/QA/DEV`, 
the `location field` may receive values like `EAST-US/WEST-US/EUROPE/AMEA`, and 
the `version` field may receive values like v2.0/v0.9. The exact use of these 
fields is up to the service discovery system. 
docs/app-framework-development-guide.md:280: trailing whitespace.
+The `ports` field allows the framework to identify the ports a task listens to 
and explicitly name the functionality they represent and the layer-4 protocol 
they use (TCP, UDP, or other). For example, a Cassandra task will define ports 
like `“7000,Cluster,TCP”`, `“7001,SSL,TCP”`, `“9160,Thrift,TCP”`, 
`“9042,Native,TCP”`, and `“7199,JMX,TCP”`. It is up to the service discovery 
system to use these names and protocol in appropriate ways, potentially 
combining them with the name field in DiscoveryInfo. 
docs/app-framework-development-guide.md:282: trailing whitespace.
+The `labels` field allows a framework to pass arbitrary labels to the service 
discovery system in the form of key/value pairs. Note that anything passed 
through this field is not guaranteed to be supported moving forward. 
Nevertheless, this field provides extensibility. Common uses of this field will 
allow us to identify use cases that require first class support. 
docs/app-framework-development-guide.md:283: new blank line at EOF.
Failed to commit patch

- Mesos ReviewBot


On Feb. 25, 2015, 12:08 a.m., Christos Kozyrakis wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31390/
> -----------------------------------------------------------
> 
> (Updated Feb. 25, 2015, 12:08 a.m.)
> 
> 
> Review request for mesos, Connor Doyle and Niklas Nielsen.
> 
> 
> Bugs: MESOS-2396
>     https://issues.apache.org/jira/browse/MESOS-2396
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added discovery info documentation.
> 
> 
> Diffs
> -----
> 
>   docs/app-framework-development-guide.md 
> dd7603d099f7582fa8fe93a4c3daa521b23f6223 
> 
> Diff: https://reviews.apache.org/r/31390/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Christos Kozyrakis
> 
>

Reply via email to