Class ClusterClusterConfigWorkerConfigAccelerator


  • public final class ClusterClusterConfigWorkerConfigAccelerator
    extends java.lang.Object
    • Method Detail

      • acceleratorCount

        public java.lang.Integer acceleratorCount()
        Returns:
        The number of the accelerator cards of this type exposed to this instance. Often restricted to one of `1`, `2`, `4`, or `8`. > The Cloud Dataproc API can return unintuitive error messages when using accelerators; even when you have defined an accelerator, Auto Zone Placement does not exclusively select zones that have that accelerator available. If you get a 400 error that the accelerator can't be found, this is a likely cause. Make sure you check [accelerator availability by zone](https://cloud.google.com/compute/docs/reference/rest/v1/acceleratorTypes/list) if you are trying to use accelerators in a given zone. ***
      • acceleratorType

        public java.lang.String acceleratorType()
        Returns:
        The short name of the accelerator type to expose to this instance. For example, `nvidia-tesla-k80`.