ApiActivity Data Model

Represents a user activity, such as a MapReduce job, a Hive query, an Oozie workflow, etc.

Properties
name data type description
name string Activity name.
type ApiActivityType Activity type. Whether it's an MR job, a Pig job, a Hive query, etc.
parent string The name of the parent activity.
startTime string The start time of this activity.
finishTime string The finish time of this activity.
id string Activity id, which is unique within a MapReduce service.
status ApiActivityStatus Activity status.
user string The user who submitted this activity.
group string The user-group of this activity.
inputDir string The input data directory of the activity. An HDFS url.
outputDir string The output result directory of the activity. An HDFS url.
mapper string The mapper class.
combiner string The combiner class.
reducer string The reducer class.
queueName string The scheduler queue this activity is in.
schedulerPriority string The scheduler priority of this activity.

Example

{
  "name" : "...",
  "type" : "UNKNOWN",
  "parent" : "...",
  "startTime" : "...",
  "finishTime" : "...",
  "id" : "...",
  "status" : "FAILED",
  "user" : "...",
  "group" : "...",
  "inputDir" : "...",
  "outputDir" : "...",
  "mapper" : "...",
  "combiner" : "...",
  "reducer" : "...",
  "queueName" : "...",
  "schedulerPriority" : "..."
}