Full name:

com.cloudera.cdk:cdk-maven-plugin:0.8.0:run-tool

Description:

Run a Hadoop tool on the local machine.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Required Parameters

Name Type Since Description
toolClass String - The tool class to run. The specified class must have a standard Java main method.
User property is: cdk.toolClass.

Optional Parameters

Name Type Since Description
addDependenciesToDistributedCache boolean - Whether to add dependencies in the runtime classpath to Hadoop's distributed cache so that they are added to the classpath for MapReduce tasks (via -libjars).
Default value is: true.
User property is: cdk.addDependenciesToDistributedCache.
args String[] - Arguments to pass to the tool, in addition to those generated by addDependenciesToDistributedCache and hadoopConfiguration.
User property is: cdk.args.
hadoopConfiguration Properties - Hadoop configuration properties.
User property is: cdk.hadoopConfiguration.

Parameter Details

addDependenciesToDistributedCache:

Whether to add dependencies in the runtime classpath to Hadoop's distributed cache so that they are added to the classpath for MapReduce tasks (via -libjars).
  • Type: boolean
  • Required: No
  • User Property: cdk.addDependenciesToDistributedCache
  • Default: true

args:

Arguments to pass to the tool, in addition to those generated by addDependenciesToDistributedCache and hadoopConfiguration.
  • Type: java.lang.String[]
  • Required: No
  • User Property: cdk.args

hadoopConfiguration:

Hadoop configuration properties.
  • Type: java.util.Properties
  • Required: No
  • User Property: cdk.hadoopConfiguration

toolClass:

The tool class to run. The specified class must have a standard Java main method.
  • Type: java.lang.String
  • Required: Yes
  • User Property: cdk.toolClass

Back to top

Version: 0.8.0. Last Published: 2013-10-07.

Reflow Maven skin by Andrius Velykis.