Package

com.krux.hyperion

activity

Permalink

package activity

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. activity
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ActivityFields[A <: ResourceObject](runsOn: Resource[A], dependsOn: Seq[PipelineActivity[_]] = Seq.empty, preconditions: Seq[Precondition] = Seq.empty, onFailAlarms: Seq[SnsAlarm] = Seq.empty, onSuccessAlarms: Seq[SnsAlarm] = Seq.empty, onLateActionAlarms: Seq[SnsAlarm] = Seq.empty, maximumRetries: Option[HInt] = None, attemptTimeout: Option[HDuration] = None, lateAfterTimeout: Option[HDuration] = None, retryDelay: Option[HDuration] = None, failureAndRerunMode: Option[FailureAndRerunMode] = None, maxActiveInstances: Option[HInt] = None) extends Product with Serializable

    Permalink
  2. trait BaseEmrActivity[A <: BaseEmrCluster] extends PipelineActivity[A]

    Permalink

    The base trait for activities that run on an Amazon EMR cluster

  3. trait BaseEmrStep extends AnyRef

    Permalink
  4. trait BaseShellCommandActivity extends PipelineActivity[Ec2Resource]

    Permalink
  5. case class CopyActivity extends PipelineActivity[Ec2Resource] with Product with Serializable

    Permalink

    The activity that copies data from one data node to the other.

    The activity that copies data from one data node to the other.

    Note

    it seems that both input and output format needs to be in CsvDataFormat for this copy to work properly and it needs to be a specific variance of the CSV, for more information check the web page: http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-copyactivity.html From our experience it's really hard to export using TsvDataFormat, in both import and export especially for tasks involving RedshiftCopyActivity. A general rule of thumb is always use default CsvDataFormat for tasks involving both exporting to S3 and copy to redshift.

  6. case class EmrActivity extends BaseEmrActivity[BaseEmrCluster] with Product with Serializable

    Permalink
  7. case class EmrStep extends BaseEmrStep with Product with Serializable

    Permalink
  8. trait EmrTaskActivity[A <: BaseEmrCluster] extends BaseEmrActivity[A]

    Permalink
  9. case class EmrTaskActivityFields(preActivityTaskConfig: Option[ShellScriptConfig] = None, postActivityTaskConfig: Option[ShellScriptConfig] = None) extends Product with Serializable

    Permalink
  10. trait FailureAndRerunMode extends AnyRef

    Permalink
  11. case class HadoopActivity[A <: BaseEmrCluster] extends EmrTaskActivity[A] with Product with Serializable

    Permalink

    Runs a MapReduce job on a cluster.

    Runs a MapReduce job on a cluster. The cluster can be an EMR cluster managed by AWS Data Pipeline or another resource if you use TaskRunner. Use HadoopActivity when you want to run work in parallel. This allows you to use the scheduling resources of the YARN framework or the MapReduce resource negotiator in Hadoop 1. If you would like to run work sequentially using the Amazon EMR Step action, you can still use EmrActivity.

  12. case class HadoopStep extends BaseEmrStep with Product with Serializable

    Permalink

    Same as EmrStep but can specify mainClass

  13. case class HiveActivity[A <: BaseEmrCluster] extends EmrTaskActivity[A] with Product with Serializable

    Permalink

    Runs a Hive query on an Amazon EMR cluster.

    Runs a Hive query on an Amazon EMR cluster. HiveActivity makes it easier to set up an Amzon EMR activity and automatically creates Hive tables based on input data coming in from either Amazon S3 or Amazon RDS. All you need to specify is the HiveQL to run on the source data. AWS Data Pipeline automatically creates Hive tables with ${input1}, ${input2}, etc. based on the input fields in the Hive Activity object. For S3 inputs, the dataFormat field is used to create the Hive column names. For MySQL (RDS) inputs, the column names for the SQL query are used to create the Hive column names.

  14. case class HiveCopyActivity[A <: BaseEmrCluster] extends EmrTaskActivity[A] with Product with Serializable

    Permalink

    Runs a Hive query on an Amazon EMR cluster.

    Runs a Hive query on an Amazon EMR cluster. HiveCopyActivity makes it easier to copy data between Amazon S3 and DynamoDB. HiveCopyActivity accepts a HiveQL statement to filter input data from Amazon S3 or DynomoDB at the column and row level.

  15. case class JarActivity extends BaseShellCommandActivity with WithS3Input with WithS3Output with Product with Serializable

    Permalink

    Shell command activity that runs a given Jar

  16. class MainClass extends AnyRef

    Permalink
  17. case class PigActivity[A <: BaseEmrCluster] extends EmrTaskActivity[A] with Product with Serializable

    Permalink

    PigActivity provides native support for Pig scripts in AWS Data Pipeline without the requirement to use ShellCommandActivity or EmrActivity.

    PigActivity provides native support for Pig scripts in AWS Data Pipeline without the requirement to use ShellCommandActivity or EmrActivity. In addition, PigActivity supports data staging. When the stage field is set to true, AWS Data Pipeline stages the input data as a schema in Pig without additional code from the user.

  18. trait PipelineActivity[A <: ResourceObject] extends NamedPipelineObject

    Permalink

    The activity trait.

    The activity trait. All activities should mixin this trait.

  19. case class RedshiftCopyActivity extends PipelineActivity[Ec2Resource] with Product with Serializable

    Permalink

    Copies data directly from DynamoDB or Amazon S3 to Amazon Redshift.

    Copies data directly from DynamoDB or Amazon S3 to Amazon Redshift. You can load data into a new table, or easily merge data into an existing table.

  20. case class RedshiftCopyOption(repr: Seq[String]) extends Product with Serializable

    Permalink
  21. trait RedshiftUnloadOption extends AnyRef

    Permalink
  22. sealed trait Script extends AnyRef

    Permalink
  23. sealed case class ScriptContent(content: Option[HString]) extends Script with Product with Serializable

    Permalink
  24. sealed case class ScriptUri(uri: Option[HS3Uri]) extends Script with Product with Serializable

    Permalink
  25. case class ShellCommandActivity extends BaseShellCommandActivity with WithS3Input with WithS3Output with Product with Serializable

    Permalink

    Runs a command or script

  26. case class ShellCommandActivityFields(script: Script, scriptArguments: Seq[HString] = Seq.empty, stdout: Option[HString] = None, stderr: Option[HString] = None, stage: Option[HBoolean] = None, input: Seq[S3DataNode] = Seq.empty, output: Seq[S3DataNode] = Seq.empty) extends Product with Serializable

    Permalink
  27. case class ShellScriptConfig(baseFields: BaseFields, scriptUri: HS3Uri, scriptArguments: Seq[HString]) extends NamedPipelineObject with Product with Serializable

    Permalink
  28. trait SparkStep extends BaseEmrStep

    Permalink
  29. case class SparkTaskActivity extends EmrTaskActivity[BaseEmrCluster] with Product with Serializable

    Permalink

    Runs a Spark job on a cluster.

    Runs a Spark job on a cluster. The cluster can be an EMR cluster managed by AWS Data Pipeline or another resource if you use TaskRunner. Use SparkActivity when you want to run work in parallel. This allows you to use the scheduling resources of the YARN framework or the MapReduce resource negotiator in Hadoop 1. If you would like to run work sequentially using the Amazon EMR Step action, you can still use SparkActivity.

  30. case class SqlActivity extends PipelineActivity[Ec2Resource] with Product with Serializable

    Permalink

    Runs an SQL query on a RedShift cluster.

    Runs an SQL query on a RedShift cluster. If the query writes out to a table that does not exist, a new table with that name is created.

  31. trait WithS3Input extends AnyRef

    Permalink
  32. trait WithS3Output extends AnyRef

    Permalink
  33. case class MapReduceActivity[A <: BaseEmrCluster] extends BaseEmrActivity[A] with Product with Serializable

    Permalink

    Runs map reduce steps on an Amazon EMR cluster

    Runs map reduce steps on an Amazon EMR cluster

    Annotations
    @deprecated
    Deprecated

    (Since version 5.0.0) Use EmrActivity instead

  34. case class MapReduceStep extends Product with Serializable

    Permalink

    A MapReduce step that runs on MapReduce Cluster

    A MapReduce step that runs on MapReduce Cluster

    Annotations
    @deprecated
    Deprecated

    (Since version 5.0.0) Use HadoopStep instead

Value Members

  1. object CopyActivity extends RunnableObject with Serializable

    Permalink
  2. object EmrActivity extends RunnableObject with Serializable

    Permalink
  3. final val EmrCommandRunner: String

    Permalink
  4. final val EmrScriptRunner: S3Uri

    Permalink
  5. object EmrStep extends Serializable

    Permalink
  6. object FailureAndRerunMode

    Permalink
  7. object HadoopActivity extends RunnableObject with Serializable

    Permalink
  8. object HadoopStep extends Serializable

    Permalink
  9. object HiveActivity extends RunnableObject with Serializable

    Permalink
  10. object HiveCopyActivity extends RunnableObject with Serializable

    Permalink
  11. object JarActivity extends RunnableObject with Serializable

    Permalink
  12. object MainClass

    Permalink
  13. object PigActivity extends RunnableObject with Serializable

    Permalink
  14. object RedshiftCopyActivity extends Enumeration with RunnableObject

    Permalink
  15. object RedshiftCopyOption extends Serializable

    Permalink
  16. object RedshiftUnloadOption

    Permalink
  17. object Script

    Permalink
  18. object ShellCommandActivity extends RunnableObject with Serializable

    Permalink
  19. object ShellScriptConfig extends Serializable

    Permalink
  20. object SparkStep

    Permalink
  21. object SparkTaskActivity extends RunnableObject with Serializable

    Permalink
  22. object SqlActivity extends RunnableObject with Serializable

    Permalink

Deprecated Value Members

  1. object MapReduceActivity extends RunnableObject with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 5.0.0) Use EmrActivity instead

  2. object MapReduceStep extends Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 5.0.0) Use HadoopStep instead

Inherited from AnyRef

Inherited from Any

Ungrouped