From a2a9d598e73fb4997bc36e1aedfebfeedd576be7 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Wed, 7 Mar 2018 14:16:25 -0500 Subject: [PATCH] Remove sections on Yarn and Mesos partition executions resovles #400 --- .../src/main/asciidoc/batch.adoc | 53 ------------------- 1 file changed, 53 deletions(-) diff --git a/spring-cloud-task-docs/src/main/asciidoc/batch.adoc b/spring-cloud-task-docs/src/main/asciidoc/batch.adoc index f302ae6b..afe5d5c3 100644 --- a/spring-cloud-task-docs/src/main/asciidoc/batch.adoc +++ b/spring-cloud-task-docs/src/main/asciidoc/batch.adoc @@ -131,41 +131,6 @@ NOTE: You can find a sample remote partition application in the samples module o Spring Cloud Task project, https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-samples/partitioned-batch-job[here]. -=== Notes on Developing a Batch-partitioned Application for the Yarn Platform - -* When deploying partitioned applications on the Yarn platform, you must use the -following dependency for the Spring Cloud Yarn Deployer -(with a version 1.0.2 or higher): -+ -[source,xml] ----- - - org.springframework.cloud - spring-cloud-starter-deployer-yarn - ----- -* For a transient dependency required by Yarn, add the following dependency to the -dependency management: -+ -[source,xml] ----- - - -... - - com.google.guava - guava - 18.0 - - -... - ----- -* You should also add the following property to your application.properties: -`spring.yarn.container.keepContextAlive=false`. -* When setting up environment variables for the partitions in the PartitionHandler, we -recommend that you do not copy the current working environment properties. - === Notes on Developing a Batch-partitioned application for the Kubernetes Platform * When deploying partitioned apps on the Kubernetes platform, you must use the following @@ -182,24 +147,6 @@ dependency for the Spring Cloud Kubernetes Deployer: the following regex pattern: `[a-z0-9]([-a-z0-9]*[a-z0-9])`. Otherwise, an exception is thrown. -=== Notes on Developing a Batch-partitioned Application for the Mesos Platform - -* When deploying partitioned apps on the Mesos platform, you must use the following -dependency for the Spring Cloud Mesos Deployer: -+ -[source,xml] ----- - - org.springframework.cloud - spring-cloud-deployer-mesos - ----- - -* When configuring the partition handler, do not add any command line arguments to the -`CommandLineArgsProvider`. You need to avoid adding arguments, because Chronos adds the -command line args to the Mesos ID. If the command line arguments contains characters such -as `/` or `:` when launching the partition on Mesos, the partition fails to start . - === Notes on Developing a Batch-partitioned Application for the Cloud Foundry Platform * When deploying partitioned apps on the Cloud Foundry platform, you must use the