Package com.cloudera.cdp.dw.model
Class ImpalaHASettingsCreateRequest
- java.lang.Object
-
- com.cloudera.cdp.dw.model.ImpalaHASettingsCreateRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:51.717-07:00") public class ImpalaHASettingsCreateRequest extends Object
High Availability settings for the Impala Virtual Warehouse. The values are disregarded for Hive.
-
-
Constructor Summary
Constructors Constructor Description ImpalaHASettingsCreateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Boolean
getEnableCatalogHighAvailability()
Getter for enableCatalogHighAvailability.Boolean
getEnableShutdownOfCoordinator()
Getter for enableShutdownOfCoordinator.String
getHighAvailabilityMode()
Getter for highAvailabilityMode.Integer
getNumOfActiveCoordinators()
Getter for numOfActiveCoordinators.Integer
getShutdownOfCoordinatorDelaySeconds()
Getter for shutdownOfCoordinatorDelaySeconds.int
hashCode()
void
setEnableCatalogHighAvailability(Boolean enableCatalogHighAvailability)
Setter for enableCatalogHighAvailability.void
setEnableShutdownOfCoordinator(Boolean enableShutdownOfCoordinator)
Setter for enableShutdownOfCoordinator.void
setHighAvailabilityMode(String highAvailabilityMode)
Setter for highAvailabilityMode.void
setNumOfActiveCoordinators(Integer numOfActiveCoordinators)
Setter for numOfActiveCoordinators.void
setShutdownOfCoordinatorDelaySeconds(Integer shutdownOfCoordinatorDelaySeconds)
Setter for shutdownOfCoordinatorDelaySeconds.String
toString()
-
-
-
Method Detail
-
getHighAvailabilityMode
public String getHighAvailabilityMode()
Getter for highAvailabilityMode. Set High Availability mode. If not provided, the default will apply. DISABLED - Disables Impala coordinator and Database Catalog high availability. ACTIVE_PASSIVE - Runs multiple coordinators (one active, one passive) and Database Catalogs (one active, one passive). ACTIVE_ACTIVE - Runs multiple coordinators (both active) and Database Catalogs (one active, one passive). If Unified Analytics is enabled, then this cannot be set to ACTIVE_ACTIVE.
-
setHighAvailabilityMode
public void setHighAvailabilityMode(String highAvailabilityMode)
Setter for highAvailabilityMode. Set High Availability mode. If not provided, the default will apply. DISABLED - Disables Impala coordinator and Database Catalog high availability. ACTIVE_PASSIVE - Runs multiple coordinators (one active, one passive) and Database Catalogs (one active, one passive). ACTIVE_ACTIVE - Runs multiple coordinators (both active) and Database Catalogs (one active, one passive). If Unified Analytics is enabled, then this cannot be set to ACTIVE_ACTIVE.
-
getEnableShutdownOfCoordinator
public Boolean getEnableShutdownOfCoordinator()
Getter for enableShutdownOfCoordinator. Enables a shutdown of the coordinator. If Unified Analytics is enabled, then this setting is explicitly disabled (ignored) and should not be provided.
-
setEnableShutdownOfCoordinator
public void setEnableShutdownOfCoordinator(Boolean enableShutdownOfCoordinator)
Setter for enableShutdownOfCoordinator. Enables a shutdown of the coordinator. If Unified Analytics is enabled, then this setting is explicitly disabled (ignored) and should not be provided.
-
getShutdownOfCoordinatorDelaySeconds
public Integer getShutdownOfCoordinatorDelaySeconds()
Getter for shutdownOfCoordinatorDelaySeconds. Delay in seconds before the shutdown of coordinator event happens.
-
setShutdownOfCoordinatorDelaySeconds
public void setShutdownOfCoordinatorDelaySeconds(Integer shutdownOfCoordinatorDelaySeconds)
Setter for shutdownOfCoordinatorDelaySeconds. Delay in seconds before the shutdown of coordinator event happens.
-
getNumOfActiveCoordinators
public Integer getNumOfActiveCoordinators()
Getter for numOfActiveCoordinators. The number of active coordinators.
-
setNumOfActiveCoordinators
public void setNumOfActiveCoordinators(Integer numOfActiveCoordinators)
Setter for numOfActiveCoordinators. The number of active coordinators.
-
getEnableCatalogHighAvailability
public Boolean getEnableCatalogHighAvailability()
Getter for enableCatalogHighAvailability. Enables a backup instance for Impala catalog to ensure high availability.
-
setEnableCatalogHighAvailability
public void setEnableCatalogHighAvailability(Boolean enableCatalogHighAvailability)
Setter for enableCatalogHighAvailability. Enables a backup instance for Impala catalog to ensure high availability.
-
-