Skip to main content
  • adminAlterHost

    public AdminAlterHostResponse adminAlterHost(AdminAlterHostRequest request) throws GPUdbException
    Alter properties on an existing host in the cluster. Currently, the only property that can be altered is a hosts ability to accept failover processes.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • adminAlterHost

    public AdminAlterHostResponse adminAlterHost(String host, Map<String,String> options) throws GPUdbException
    Alter properties on an existing host in the cluster. Currently, the only property that can be altered is a hosts ability to accept failover processes.
    Parameters:
    host - Identifies the host this applies to. Can be the host address, or formatted as ‘hostN’ where N is the host number as specified in gpudb.conf.
    options - Optional parameters.
    • ACCEPTS_FAILOVER: If set to TRUE, the host will accept processes (ranks, graph server, etc.) in the event of a failover on another node in the cluster. Supported values:The default value is FALSE.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.