set-default-java-version

subtitle

Configures the default Java version for the Data Lake.

version

0.9.129

Description

Configures the default Java version for the Data Lake. This command updates the system’s default Java version and will restart both the Cluster Manager and the services.

Synopsis

  set-default-java-version
--crn <value>
--java-version <value>
[--rolling-restart | --no-rolling-restart]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--crn (string)

The CRN of the Data Lake cluster.

--java-version (string)

The default Java version to be set on the Data Lake cluster.

--rolling-restart | --no-rolling-restart (boolean)

If set to true Cloudera Manager will use Rolling Restart to restart services running on the cluster. This operation can take a long time. Default value is false.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

operationId -> (string)

The id of the related operation.

Form Factors

public