Fork me on GitHub

cdk:deploy-app

Full name:

com.cloudera.cdk:cdk-maven-plugin:0.5.0:deploy-app

Description:

Deploy a packaged application to a Hadoop filesystem, such as HDFS.

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
deployFileSystem String - The Hadoop fileystem used to deploy the application. The filesystem must be accessible by the client deploying the application.
User property is: cdk.deployFileSystem.

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.
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.
localApplicationFile File - The local directory of the application to deploy.
Default value is: ${project.build.directory}/${project.build.finalName}-app.
User property is: cdk.localApplicationFile.
updateApplication boolean - Whether to automatically undeploy applications that already exist when deploying. If false, and this application has already been deployed, then an error will be reported.
Default value is: false.
User property is: cdk.updateApplication.

Parameter Details

applicationName:

The name of the application.
  • Type: java.lang.String
  • Required: No
  • User Property: cdk.applicationName
  • Default: ${project.build.finalName}-app

applicationsDirectory:

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/

deployFileSystem:

The Hadoop fileystem used to deploy the application. The filesystem must be accessible by the client deploying the application.
  • Type: java.lang.String
  • Required: Yes
  • User Property: cdk.deployFileSystem

localApplicationFile:

The local directory of the application to deploy.
  • Type: java.io.File
  • Required: No
  • User Property: cdk.localApplicationFile
  • Default: ${project.build.directory}/${project.build.finalName}-app

updateApplication:

Whether to automatically undeploy applications that already exist when deploying. If false, and this application has already been deployed, then an error will be reported.
  • Type: boolean
  • Required: No
  • User Property: cdk.updateApplication
  • Default: false