cdk:run-app
Full name:
com.cloudera.cdk:cdk-maven-plugin:0.9.2:run-app
Description:
Run an app as a job on a cluster.
Attributes:
- Requires a Maven project to be executed.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
oozieUrl | String | - | The URL of the Oozie service to use. User property is: cdk.oozieUrl. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
applicationName | String | - | The name of the application. Default value is: ${project.build.finalName}-app. User property is: cdk.applicationName. |
applicationType | String | - | The type of the application (workflow, coordination, or bundle). Default value is: workflow. User property is: cdk.applicationType. |
applicationsDirectory | String | - | The base directory in the Hadoop filesystem (typically HDFS) where applications are stored. Default value is: /user/${user.name}/apps/. User property is: cdk.applicationsDirectory. |
hadoopConfiguration | Properties | - | Hadoop configuration properties. User property is: cdk.hadoopConfiguration. |
jobProperties | Properties | - | Job configuration properties for the application. This provides a means to specify values for parameterized properties in Oozie applications. User property is: cdk.jobProperties. |
Parameter Details
The name of the application.
- Type: java.lang.String
- Required: No
- User Property: cdk.applicationName
- Default: ${project.build.finalName}-app
The type of the application (
workflow,
coordination, or
bundle).
- Type: java.lang.String
- Required: No
- User Property: cdk.applicationType
- Default: workflow
The base directory in the Hadoop filesystem (typically HDFS) where applications are stored.
- Type: java.lang.String
- Required: No
- User Property: cdk.applicationsDirectory
- Default: /user/${user.name}/apps/
Hadoop configuration properties.
- Type: java.util.Properties
- Required: No
- User Property: cdk.hadoopConfiguration
Job configuration properties for the application. This provides a means to specify values for parameterized properties in Oozie applications.
- Type: java.util.Properties
- Required: No
- User Property: cdk.jobProperties
The URL of the Oozie service to use.
- Type: java.lang.String
- Required: Yes
- User Property: cdk.oozieUrl