Updated adding guava dependency

This commit is contained in:
Glenn Renfro
2016-09-07 17:20:52 -04:00
committed by Michael Minella
parent 3c63196a47
commit 29ec7df449

View File

@@ -119,6 +119,20 @@ Spring Cloud Yarn Deployer:
<artifactId>spring-cloud-starter-deployer-yarn</artifactId>
</dependency>
```
* Add the following dependency to the dependency management for a transient dependency required by Yarn:
```
<dependencyManagement>
<dependencies>
...
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
</dependencies>
...
</dependencyManagement>
```
* 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 it is recommended that you do not
copy the current working environment properties.