amazonka-emr-1.6.1: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.AddJobFlowSteps

Contents

Description

AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow.

If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide .

A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step.

Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully.

You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.

Synopsis

Creating a Request

addJobFlowSteps Source #

Creates a value of AddJobFlowSteps with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ajfsJobFlowId - A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters .
  • ajfsSteps - A list of StepConfig to be executed by the job flow.

data AddJobFlowSteps Source #

The input argument to the AddJobFlowSteps operation.

See: addJobFlowSteps smart constructor.

Instances
Eq AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Data AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddJobFlowSteps -> c AddJobFlowSteps #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddJobFlowSteps #

toConstr :: AddJobFlowSteps -> Constr #

dataTypeOf :: AddJobFlowSteps -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddJobFlowSteps) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddJobFlowSteps) #

gmapT :: (forall b. Data b => b -> b) -> AddJobFlowSteps -> AddJobFlowSteps #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddJobFlowSteps -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddJobFlowSteps -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddJobFlowSteps -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddJobFlowSteps -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddJobFlowSteps -> m AddJobFlowSteps #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddJobFlowSteps -> m AddJobFlowSteps #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddJobFlowSteps -> m AddJobFlowSteps #

Read AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Show AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Generic AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Associated Types

type Rep AddJobFlowSteps :: Type -> Type #

Hashable AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

ToJSON AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

AWSRequest AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Associated Types

type Rs AddJobFlowSteps :: Type #

ToHeaders AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

ToPath AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

ToQuery AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

NFData AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Methods

rnf :: AddJobFlowSteps -> () #

type Rep AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

type Rep AddJobFlowSteps = D1 (MetaData "AddJobFlowSteps" "Network.AWS.EMR.AddJobFlowSteps" "amazonka-emr-1.6.1-2s0PTavy7KJFxTopWKa47I" False) (C1 (MetaCons "AddJobFlowSteps'" PrefixI True) (S1 (MetaSel (Just "_ajfsJobFlowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ajfsSteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [StepConfig])))
type Rs AddJobFlowSteps Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Request Lenses

ajfsJobFlowId :: Lens' AddJobFlowSteps Text Source #

A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters .

ajfsSteps :: Lens' AddJobFlowSteps [StepConfig] Source #

A list of StepConfig to be executed by the job flow.

Destructuring the Response

addJobFlowStepsResponse Source #

Creates a value of AddJobFlowStepsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AddJobFlowStepsResponse Source #

The output for the AddJobFlowSteps operation.

See: addJobFlowStepsResponse smart constructor.

Instances
Eq AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Data AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddJobFlowStepsResponse -> c AddJobFlowStepsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddJobFlowStepsResponse #

toConstr :: AddJobFlowStepsResponse -> Constr #

dataTypeOf :: AddJobFlowStepsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddJobFlowStepsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddJobFlowStepsResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddJobFlowStepsResponse -> AddJobFlowStepsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddJobFlowStepsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddJobFlowStepsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddJobFlowStepsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddJobFlowStepsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddJobFlowStepsResponse -> m AddJobFlowStepsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddJobFlowStepsResponse -> m AddJobFlowStepsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddJobFlowStepsResponse -> m AddJobFlowStepsResponse #

Read AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Show AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Generic AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Associated Types

type Rep AddJobFlowStepsResponse :: Type -> Type #

NFData AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

Methods

rnf :: AddJobFlowStepsResponse -> () #

type Rep AddJobFlowStepsResponse Source # 
Instance details

Defined in Network.AWS.EMR.AddJobFlowSteps

type Rep AddJobFlowStepsResponse = D1 (MetaData "AddJobFlowStepsResponse" "Network.AWS.EMR.AddJobFlowSteps" "amazonka-emr-1.6.1-2s0PTavy7KJFxTopWKa47I" False) (C1 (MetaCons "AddJobFlowStepsResponse'" PrefixI True) (S1 (MetaSel (Just "_ajfsrsStepIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ajfsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ajfsrsStepIds :: Lens' AddJobFlowStepsResponse [Text] Source #

The identifiers of the list of steps added to the job flow.