All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataproc.model.BasicYarnAutoscalingConfig.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240821-2.0.0
Show newest version






BasicYarnAutoscalingConfig (Cloud Dataproc API v1-rev20240605-2.0.0)












com.google.api.services.dataproc.model

Class BasicYarnAutoscalingConfig

    • Constructor Detail

      • BasicYarnAutoscalingConfig

        public BasicYarnAutoscalingConfig()
    • Method Detail

      • getGracefulDecommissionTimeout

        public String getGracefulDecommissionTimeout()
        Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.
        Returns:
        value or null for none
      • setGracefulDecommissionTimeout

        public BasicYarnAutoscalingConfig setGracefulDecommissionTimeout(String gracefulDecommissionTimeout)
        Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.
        Parameters:
        gracefulDecommissionTimeout - gracefulDecommissionTimeout or null for none
      • getScaleDownFactor

        public Double getScaleDownFactor()
        Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring- clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
        Returns:
        value or null for none
      • setScaleDownFactor

        public BasicYarnAutoscalingConfig setScaleDownFactor(Double scaleDownFactor)
        Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring- clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
        Parameters:
        scaleDownFactor - scaleDownFactor or null for none
      • getScaleDownMinWorkerFraction

        public Double getScaleDownMinWorkerFraction()
        Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
        Returns:
        value or null for none
      • setScaleDownMinWorkerFraction

        public BasicYarnAutoscalingConfig setScaleDownMinWorkerFraction(Double scaleDownMinWorkerFraction)
        Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
        Parameters:
        scaleDownMinWorkerFraction - scaleDownMinWorkerFraction or null for none
      • getScaleUpFactor

        public Double getScaleUpFactor()
        Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring- clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
        Returns:
        value or null for none
      • setScaleUpFactor

        public BasicYarnAutoscalingConfig setScaleUpFactor(Double scaleUpFactor)
        Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring- clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
        Parameters:
        scaleUpFactor - scaleUpFactor or null for none
      • getScaleUpMinWorkerFraction

        public Double getScaleUpMinWorkerFraction()
        Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
        Returns:
        value or null for none
      • setScaleUpMinWorkerFraction

        public BasicYarnAutoscalingConfig setScaleUpMinWorkerFraction(Double scaleUpMinWorkerFraction)
        Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
        Parameters:
        scaleUpMinWorkerFraction - scaleUpMinWorkerFraction or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy