JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class JobFlowDetail

    • Constructor Detail

      • JobFlowDetail

        public JobFlowDetail()
        Default constructor for JobFlowDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • JobFlowDetail

        public JobFlowDetail(String jobFlowId,
         String name,
         JobFlowExecutionStatusDetail executionStatusDetail,
         JobFlowInstancesDetail instances)
        Constructs a new JobFlowDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        jobFlowId - The job flow identifier.
        name - The name of the job flow.
        executionStatusDetail - Describes the execution status of the job flow.
        instances - Describes the Amazon EC2 instances of the job flow.
    • Method Detail

      • setJobFlowId

        public void setJobFlowId(String jobFlowId)

        The job flow identifier.

        Parameters:
        jobFlowId - The job flow identifier.
      • getJobFlowId

        public String getJobFlowId()

        The job flow identifier.

        Returns:
        The job flow identifier.
      • withJobFlowId

        public JobFlowDetail withJobFlowId(String jobFlowId)

        The job flow identifier.

        Parameters:
        jobFlowId - The job flow identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        The name of the job flow.

        Parameters:
        name - The name of the job flow.
      • getName

        public String getName()

        The name of the job flow.

        Returns:
        The name of the job flow.
      • withName

        public JobFlowDetail withName(String name)

        The name of the job flow.

        Parameters:
        name - The name of the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLogUri

        public void setLogUri(String logUri)

        The location in Amazon S3 where log files for the job are stored.

        Parameters:
        logUri - The location in Amazon S3 where log files for the job are stored.
      • getLogUri

        public String getLogUri()

        The location in Amazon S3 where log files for the job are stored.

        Returns:
        The location in Amazon S3 where log files for the job are stored.
      • withLogUri

        public JobFlowDetail withLogUri(String logUri)

        The location in Amazon S3 where log files for the job are stored.

        Parameters:
        logUri - The location in Amazon S3 where log files for the job are stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLogEncryptionKmsKeyId

        public void setLogEncryptionKmsKeyId(String logEncryptionKmsKeyId)

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.

        Parameters:
        logEncryptionKmsKeyId - The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.
      • getLogEncryptionKmsKeyId

        public String getLogEncryptionKmsKeyId()

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.

        Returns:
        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.
      • withLogEncryptionKmsKeyId

        public JobFlowDetail withLogEncryptionKmsKeyId(String logEncryptionKmsKeyId)

        The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.

        Parameters:
        logEncryptionKmsKeyId - The KMS key used for encrypting log files. This attribute is only available with Amazon EMR 5.30.0 and later, excluding 6.0.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAmiVersion

        public void setAmiVersion(String amiVersion)

        Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

        Parameters:
        amiVersion - Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.
      • getAmiVersion

        public String getAmiVersion()

        Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

        Returns:
        Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.
      • withAmiVersion

        public JobFlowDetail withAmiVersion(String amiVersion)

        Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

        Parameters:
        amiVersion - Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExecutionStatusDetail

        public void setExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)

        Describes the execution status of the job flow.

        Parameters:
        executionStatusDetail - Describes the execution status of the job flow.
      • getExecutionStatusDetail

        public JobFlowExecutionStatusDetail getExecutionStatusDetail()

        Describes the execution status of the job flow.

        Returns:
        Describes the execution status of the job flow.
      • withExecutionStatusDetail

        public JobFlowDetail withExecutionStatusDetail(JobFlowExecutionStatusDetail executionStatusDetail)

        Describes the execution status of the job flow.

        Parameters:
        executionStatusDetail - Describes the execution status of the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstances

        public void setInstances(JobFlowInstancesDetail instances)

        Describes the Amazon EC2 instances of the job flow.

        Parameters:
        instances - Describes the Amazon EC2 instances of the job flow.
      • getInstances

        public JobFlowInstancesDetail getInstances()

        Describes the Amazon EC2 instances of the job flow.

        Returns:
        Describes the Amazon EC2 instances of the job flow.
      • withInstances

        public JobFlowDetail withInstances(JobFlowInstancesDetail instances)

        Describes the Amazon EC2 instances of the job flow.

        Parameters:
        instances - Describes the Amazon EC2 instances of the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSteps

        public List<StepDetail> getSteps()

        A list of steps run by the job flow.

        Returns:
        A list of steps run by the job flow.
      • setSteps

        public void setSteps(Collection<StepDetail> steps)

        A list of steps run by the job flow.

        Parameters:
        steps - A list of steps run by the job flow.
      • withSteps

        public JobFlowDetail withSteps(StepDetail... steps)

        A list of steps run by the job flow.

        NOTE: This method appends the values to the existing list (if any). Use setSteps(java.util.Collection) or withSteps(java.util.Collection) if you want to override the existing values.

        Parameters:
        steps - A list of steps run by the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSteps

        public JobFlowDetail withSteps(Collection<StepDetail> steps)

        A list of steps run by the job flow.

        Parameters:
        steps - A list of steps run by the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getBootstrapActions

        public List<BootstrapActionDetail> getBootstrapActions()

        A list of the bootstrap actions run by the job flow.

        Returns:
        A list of the bootstrap actions run by the job flow.
      • setBootstrapActions

        public void setBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)

        A list of the bootstrap actions run by the job flow.

        Parameters:
        bootstrapActions - A list of the bootstrap actions run by the job flow.
      • withBootstrapActions

        public JobFlowDetail withBootstrapActions(Collection<BootstrapActionDetail> bootstrapActions)

        A list of the bootstrap actions run by the job flow.

        Parameters:
        bootstrapActions - A list of the bootstrap actions run by the job flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSupportedProducts

        public List<String> getSupportedProducts()

        A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.

        Returns:
        A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.
      • setSupportedProducts

        public void setSupportedProducts(Collection<String> supportedProducts)

        A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.

        Parameters:
        supportedProducts - A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.
      • withSupportedProducts

        public JobFlowDetail withSupportedProducts(String... supportedProducts)

        A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.

        NOTE: This method appends the values to the existing list (if any). Use setSupportedProducts(java.util.Collection) or withSupportedProducts(java.util.Collection) if you want to override the existing values.

        Parameters:
        supportedProducts - A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSupportedProducts

        public JobFlowDetail withSupportedProducts(Collection<String> supportedProducts)

        A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.

        Parameters:
        supportedProducts - A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVisibleToAllUsers

        public void setVisibleToAllUsers(Boolean visibleToAllUsers)

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Parameters:
        visibleToAllUsers - Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • getVisibleToAllUsers

        public Boolean getVisibleToAllUsers()

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • withVisibleToAllUsers

        public JobFlowDetail withVisibleToAllUsers(Boolean visibleToAllUsers)

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Parameters:
        visibleToAllUsers - Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isVisibleToAllUsers

        public Boolean isVisibleToAllUsers()

        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

        Returns:
        Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

        The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

      • setJobFlowRole

        public void setJobFlowRole(String jobFlowRole)

        The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.

        Parameters:
        jobFlowRole - The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.
      • getJobFlowRole

        public String getJobFlowRole()

        The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.

        Returns:
        The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.
      • withJobFlowRole

        public JobFlowDetail withJobFlowRole(String jobFlowRole)

        The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.

        Parameters:
        jobFlowRole - The IAM role that was specified when the job flow was launched. The Amazon EC2 instances of the job flow assume this role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceRole

        public void setServiceRole(String serviceRole)

        The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.

        Parameters:
        serviceRole - The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.
      • getServiceRole

        public String getServiceRole()

        The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.

        Returns:
        The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.
      • withServiceRole

        public JobFlowDetail withServiceRole(String serviceRole)

        The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.

        Parameters:
        serviceRole - The IAM role that is assumed by the Amazon EMR service to access Amazon Web Services resources on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoScalingRole

        public void setAutoScalingRole(String autoScalingRole)

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.

        Parameters:
        autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.
      • getAutoScalingRole

        public String getAutoScalingRole()

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.

        Returns:
        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.
      • withAutoScalingRole

        public JobFlowDetail withAutoScalingRole(String autoScalingRole)

        An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.

        Parameters:
        autoScalingRole - An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate Amazon EC2 instances in an instance group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setScaleDownBehavior

        public void setScaleDownBehavior(String scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • getScaleDownBehavior

        public String getScaleDownBehavior()

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

        Returns:
        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • withScaleDownBehavior

        public JobFlowDetail withScaleDownBehavior(String scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleDownBehavior
      • setScaleDownBehavior

        public void setScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
        See Also:
        ScaleDownBehavior
      • withScaleDownBehavior

        public JobFlowDetail withScaleDownBehavior(ScaleDownBehavior scaleDownBehavior)

        The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

        Parameters:
        scaleDownBehavior - The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScaleDownBehavior
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /