collect-cm-diagnostics

subtitle

Start DataLake Cloudera Manager based diagnostics collection

version

0.9.71

Description

Start Datalake Cloudera Manager based diagnostics collection

Synopsis

  collect-cm-diagnostics
--crn <value>
--destination <value>
[--description <value>]
[--case-number <value>]
[--roles <value>]
[--start-date <value>]
[--end-date <value>]
[--update-package | --no-update-package]
[--storage-validation | --no-storage-validation]
[--monitor-metrics-collection | --no-monitor-metrics-collection]
[--bundle-size-limit <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--crn (string)

CRN of the Datalake cluster.

--destination (string)

Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)

Possible values:

  • SUPPORT

  • CLOUD_STORAGE

  • LOCAL

--description (string)

Additional information / title for the diagnostics collection.

--case-number (string)

Optional support case number in case of SUPPORT destination, otherwise only act as additional data.

--roles (array)

Array of roles for which to get logs and metrics. If set, this restricts the roles for log and metrics collection.

Syntax:

"string" "string" ...

--start-date (datetime)

Restrict collected logs and metrics (from the provided date timestamp).

--end-date (datetime)

Restrict collected logs and metrics (until the provided date timestamp).

--update-package | --no-update-package (boolean)

If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation.

--storage-validation | --no-storage-validation (boolean)

Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs)

--monitor-metrics-collection | --no-monitor-metrics-collection (boolean)

Flag to enable collection of metrics for chart display in CM based diagnostics collection.

--bundle-size-limit (integer)

Diagnostics bundle size limit in MB.

--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

Form Factors

public