create-connector

subtitle

Creates a Connector

version

0.9.150

Description

Creates a new Connector in the specified cluster.

Synopsis

  create-connector
--name <value>
--template <value>
[--cluster-id <value>]
[--config <value>]
[--description <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--name (string)

The name of the connector.

--template (string)

The template of the connector.

--cluster-id (string)

THe ID of the Database Catalog’s cluster.

--config (map)

The connector configuration in key-value format. For example, { “connector.name”: “iceberg”, “fs.cache.directories”: “/data/trino/fs_cache_iceberg”, “fs.cache.enabled”: “true”, “fs.cache.max-disk-usage-percentages”: “30”, “fs.cache.preferred-hosts-count”: “2”, “fs.cache.ttl”: “7d”, “hive.metastore.uri”: “thrift://metastore-service.{{ .Values.warehouseId }}.svc.cluster.local:9083”, “iceberg.catalog.type”: “hive_metastore”, “iceberg.security”: “{{ .Values.authorizationMode }}”, “ranger.audit_config”: “ranger-hive-audit.xml”, “ranger.hadoop_config”: “core-site.xml”, “ranger.policy_mgr_ssl_config”: “ranger-policymgr-ssl.xml”, “ranger.security_config”: “ranger-hive-security.xml”, “ranger.service_name”: “{{ .Values.rangerHiveSvcName }}” }

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--description (string)

User-provided description.

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

result -> (object)

Represents the details of a connector used to integrate external systems or data sources with Cloudera Data Warehouse. A connector defines the configuration, and connection properties required to establish and manage connectivity.

Form Factors: public, private

crn -> (string)

The CRN of the connector.

id -> (string)

Unique per-cluster connector ID.

name -> (string)

Display name.

template -> (string)

The template of the connector.

config -> (map)

The connector configuration in key-value format. For example, { “connector.name”: “hive”, “fs.cache.directories”: “/data/trino/fs_cache_hive”, “fs.cache.enabled”: “true”, “fs.cache.max-disk-usage-percentages”: “30”, “fs.cache.preferred-hosts-count”: “2”, “fs.cache.ttl”: “7d”, “hive.allow-drop-table”: “true”, “hive.collect-column-statistics-on-write”: “false”, “hive.metastore.uri”: “thrift://metastore-service.{{ .Values.warehouseId }}.svc.cluster.local:9083”, “hive.non-managed-table-writes-enabled”: “true”, “hive.security”: “{{ .Values.authorizationMode }}”, “ranger.audit_config”: “ranger-hive-audit.xml”, “ranger.hadoop_config”: “core-site.xml”, “ranger.policy_mgr_ssl_config”: “ranger-policymgr-ssl.xml”, “ranger.security_config”: “ranger-hive-security.xml”, “ranger.service_name”: “{{ .Values.rangerHiveSvcName }}” }.

key -> (string)

value -> (string)

description -> (string)

User-provided description.

createdBy -> (string)

The CRN of the user who created the connector.

createdAt -> (integer)

The timestamp when the connector was created.

updatedAt -> (integer)

The timestamp when the connector was last updated.

updatedBy -> (string)

The CRN of the user who last updated the connector.

Form Factors

public, private