A C D E G H I K L M O P Q R S T W Y 

A

AbstractYarnClusterTests - Class in org.springframework.yarn.test.junit
Abstract base class providing default functionality for running tests using Yarn mini cluster.
AbstractYarnClusterTests() - Constructor for class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
afterPropertiesSet() - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
 
applicationContext - Variable in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
ApplicationInfo - Class in org.springframework.yarn.test.junit
Simple holder class needed for returning multiple values from AbstractYarnClusterTests app submit operations.
ApplicationInfo() - Constructor for class org.springframework.yarn.test.junit.ApplicationInfo
Instantiates a new application info.
ApplicationInfo(ApplicationId, ApplicationReport) - Constructor for class org.springframework.yarn.test.junit.ApplicationInfo
Instantiates a new application info.

C

close() - Method in class org.springframework.yarn.test.support.YarnClusterManager
Close the manager, removes shutdown hook and closes all running clusters.
closeCluster(YarnCluster) - Method in class org.springframework.yarn.test.support.YarnClusterManager
Closes and remove YarnCluster from a manager cache.
ClusterDelegatingFactoryBean - Class in org.springframework.yarn.test.support
Delegates to YarnClusterManager for handling lifecycle of YarnCluster.
ClusterDelegatingFactoryBean() - Constructor for class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
ClusterInfo - Class in org.springframework.yarn.test.support
Object keeping some testing cluster init info.
ClusterInfo() - Constructor for class org.springframework.yarn.test.support.ClusterInfo
 
ClusterInfo(String, int, int) - Constructor for class org.springframework.yarn.test.support.ClusterInfo
 
configuration - Variable in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
ConfigurationDelegatingFactoryBean - Class in org.springframework.yarn.test.support
Simple factory bean delegating retrieval of hadoop Configuration from a StandaloneYarnCluster.
ConfigurationDelegatingFactoryBean() - Constructor for class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
 
ContainerLogUtils - Class in org.springframework.yarn.test.support
Utilities for checking container logs.
ContainerLogUtils() - Constructor for class org.springframework.yarn.test.support.ContainerLogUtils
 

D

DEFAULT_ID_CLUSTER - Static variable in class org.springframework.yarn.test.YarnTestSystemConstants
Default id for mini yarn cluster.
DEFAULT_ID_MINIYARNCLUSTER - Static variable in class org.springframework.yarn.test.YarnTestSystemConstants
Default bean id for mini yarn cluster.
DEFAULT_ID_MINIYARNCLUSTER_CONFIG - Static variable in class org.springframework.yarn.test.YarnTestSystemConstants
Default bean id for mini yarn cluster configured configuration.
destroy() - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
destroy() - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
 
doClose() - Method in class org.springframework.yarn.test.support.YarnClusterManager
Bring down and un-register all the running clusters.

E

equals(Object) - Method in class org.springframework.yarn.test.support.ClusterInfo
 

G

getAnnotationConfigLoader() - Method in class org.springframework.yarn.test.context.YarnDelegatingSmartContextLoader
 
getApplicationContext() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Gets the ApplicationContext for tests.
getApplicationId() - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Gets the application id.
getApplicationReport() - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Gets the application report.
getCluster(ClusterInfo) - Method in class org.springframework.yarn.test.support.YarnClusterManager
Gets and starts the mini cluster.
getConfiguration() - Method in interface org.springframework.yarn.test.context.YarnCluster
Gets the Configuration for the cluster.
getConfiguration() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Gets the running cluster runtime Configuration for tests.
getConfiguration() - Method in class org.springframework.yarn.test.support.StandaloneYarnCluster
 
getFileContent(File) - Static method in class org.springframework.yarn.test.support.ContainerLogUtils
Reads a file content and return it as String.
getFinalApplicationStatus() - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Gets the final application status.
getId() - Method in class org.springframework.yarn.test.support.ClusterInfo
 
getInstance() - Static method in class org.springframework.yarn.test.support.YarnClusterManager
Gets the singleton instance of YarnClusterManager.
getInstance(boolean) - Static method in class org.springframework.yarn.test.support.YarnClusterManager
Gets the singleton instance of YarnClusterManager.
getNumDfs() - Method in class org.springframework.yarn.test.support.ClusterInfo
 
getNumYarn() - Method in class org.springframework.yarn.test.support.ClusterInfo
 
getObject() - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
getObject() - Method in class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
 
getObject() - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
 
getObjectType() - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
getObjectType() - Method in class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
 
getObjectType() - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
 
getState(ApplicationId) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Get the current application state.
getXmlLoader() - Method in class org.springframework.yarn.test.context.YarnDelegatingSmartContextLoader
 
getYarnApplicationState() - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Gets the yarn application state.
getYarnClient() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Gets the YarnClient.
getYarnCluster() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Gets the running YarnCluster for tests.
getYarnWorkDir() - Method in interface org.springframework.yarn.test.context.YarnCluster
Gets the working directory of Yarn nodes.
getYarnWorkDir() - Method in class org.springframework.yarn.test.support.StandaloneYarnCluster
 

H

hashCode() - Method in class org.springframework.yarn.test.support.ClusterInfo
 
HDFS_TESTS_BASE_PATH - Static variable in class org.springframework.yarn.test.YarnTestSystemConstants
Base hdfs path for tests.

I

isSingleton() - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
isSingleton() - Method in class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
 
isSingleton() - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
 

K

killApplication(ApplicationId) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Kill the application.

L

loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - Method in class org.springframework.yarn.test.context.YarnClusterInjectingAnnotationConfigContextLoader
 
loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - Method in class org.springframework.yarn.test.context.YarnClusterInjectingXmlContextLoader
 

M

MiniYarnCluster - Annotation Type in org.springframework.yarn.test.context
MiniYarnCluster defines class-level metadata that is used to determine how to load and configure a mini cluster and inject it into ApplicationContext for test classes.
MiniYarnClusterTest - Annotation Type in org.springframework.yarn.test.context
Composed annotation having @MiniYarnCluster, @ContextConfiguration using loader YarnDelegatingSmartContextLoader and empty Spring @Configuration.
MiniYarnClusterTest.Config - Class in org.springframework.yarn.test.context
 
MiniYarnClusterTest.Config() - Constructor for class org.springframework.yarn.test.context.MiniYarnClusterTest.Config
 

O

org.springframework.yarn.test - package org.springframework.yarn.test
 
org.springframework.yarn.test.context - package org.springframework.yarn.test.context
 
org.springframework.yarn.test.junit - package org.springframework.yarn.test.junit
 
org.springframework.yarn.test.support - package org.springframework.yarn.test.support
 

P

PROFILE_ID_NOMINICLUSTER - Static variable in class org.springframework.yarn.test.YarnTestSystemConstants
Default id for no minicluster profile.

Q

queryContainerLogs(YarnCluster, ApplicationId, String) - Static method in class org.springframework.yarn.test.support.ContainerLogUtils
Find container logs for running cluster and application.
queryContainerLogs(YarnCluster, ApplicationId) - Static method in class org.springframework.yarn.test.support.ContainerLogUtils
Find container logs for running cluster and application.

R

registerShutdownHook() - Method in class org.springframework.yarn.test.support.YarnClusterManager
Register a jvm shutdown hook allowing manager to gracefully shutdown clusters in case that hasn't already happened.

S

setApplicationContext(ApplicationContext) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
setApplicationId(ApplicationId) - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Sets the application id.
setApplicationReport(ApplicationReport) - Method in class org.springframework.yarn.test.junit.ApplicationInfo
Sets the application report.
setAutoStart(boolean) - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
Set whether cluster should be started automatically by this factory instance.
setCluster(YarnCluster) - Method in class org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
setClusterId(String) - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
Sets the cluster id.
setConfiguration(Configuration) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Sets the Configuration.
setId(String) - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
setId(String) - Method in class org.springframework.yarn.test.support.ClusterInfo
 
setNodes(int) - Method in class org.springframework.yarn.test.support.ClusterDelegatingFactoryBean
 
setNodes(int) - Method in class org.springframework.yarn.test.support.StandaloneYarnCluster
Sets a number of nodes for cluster.
setNodes(int) - Method in class org.springframework.yarn.test.support.YarnClusterFactoryBean
Sets the number of nodes.
setNumDfs(int) - Method in class org.springframework.yarn.test.support.ClusterInfo
 
setNumYarn(int) - Method in class org.springframework.yarn.test.support.ClusterInfo
 
setYarnClient(YarnClient) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Sets the YarnClient.
setYarnCluster(YarnCluster) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Sets the YarnCluster
StandaloneYarnCluster - Class in org.springframework.yarn.test.support
Standalone simple mini cluster having Yarn and Hdfs nodes.
StandaloneYarnCluster(String) - Constructor for class org.springframework.yarn.test.support.StandaloneYarnCluster
Instantiates a mini cluster with default cluster node count.
StandaloneYarnCluster(String, int) - Constructor for class org.springframework.yarn.test.support.StandaloneYarnCluster
Instantiates a mini cluster with given cluster node count.
start() - Method in interface org.springframework.yarn.test.context.YarnCluster
Starts the cluster.
start() - Method in class org.springframework.yarn.test.support.StandaloneYarnCluster
 
stop() - Method in interface org.springframework.yarn.test.context.YarnCluster
Stops the cluster.
stop() - Method in class org.springframework.yarn.test.support.StandaloneYarnCluster
 
submitApplication() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Submit an application.
submitApplicationAndWait() - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Submits application and wait state.
submitApplicationAndWait(long, TimeUnit) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Submits application and wait state.
submitApplicationAndWaitState(long, TimeUnit, YarnApplicationState...) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Submits application and wait state.

T

toString() - Method in class org.springframework.yarn.test.support.ClusterInfo
 

W

waitState(ApplicationId, long, TimeUnit, YarnApplicationState...) - Method in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
Waits state.

Y

yarnClient - Variable in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
YarnCluster - Interface in org.springframework.yarn.test.context
Interface for Yarn miniclusters.
yarnCluster - Variable in class org.springframework.yarn.test.junit.AbstractYarnClusterTests
 
YarnClusterFactoryBean - Class in org.springframework.yarn.test.support
Factory bean building Yarn mini clusters.
YarnClusterFactoryBean() - Constructor for class org.springframework.yarn.test.support.YarnClusterFactoryBean
 
YarnClusterInjectingAnnotationConfigContextLoader - Class in org.springframework.yarn.test.context
Extending generic annotation based context loader able to manage and inject Yarn mini clusters.
YarnClusterInjectingAnnotationConfigContextLoader() - Constructor for class org.springframework.yarn.test.context.YarnClusterInjectingAnnotationConfigContextLoader
 
YarnClusterInjectingXmlContextLoader - Class in org.springframework.yarn.test.context
Extending generic xml based context loader able to manage and inject Yarn mini clusters.
YarnClusterInjectingXmlContextLoader() - Constructor for class org.springframework.yarn.test.context.YarnClusterInjectingXmlContextLoader
 
YarnClusterManager - Class in org.springframework.yarn.test.support
Manager handling running mini clusters for tests.
YarnDelegatingSmartContextLoader - Class in org.springframework.yarn.test.context
YarnDelegatingSmartContextLoader is a concrete implementation of AbstractDelegatingSmartContextLoader that delegates to a YarnClusterInjectingXmlContextLoader and an YarnClusterInjectingAnnotationConfigContextLoader.
YarnDelegatingSmartContextLoader() - Constructor for class org.springframework.yarn.test.context.YarnDelegatingSmartContextLoader
 
YarnTestSystemConstants - Class in org.springframework.yarn.test
Various constants throughout the Spring Yarn testing libraries.
YarnTestSystemConstants() - Constructor for class org.springframework.yarn.test.YarnTestSystemConstants
 
A C D E G H I K L M O P Q R S T W Y