Skip to main content
show_datasource(name=None, options=)[source]

Shows information about a specified data source or all data sources.

Parameters

name (str) –

Name of the data source for which to retrieve information. The name must refer to a currently existing data source. If ‘*’ is specified, information about all data sources will be returned.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

datasource_names (list of str) –

The data source names.

storage_provider_types (list of str) –

The storage provider type of the data sources named in output parameter datasource_names. Allowed values are:

  • hdfs – Apache Hadoop Distributed File System.

  • s3 – Amazon S3 bucket.

additional_info (list of dicts of str to str) –

Additional information about the respective data sources in output parameter datasource_names. Allowed keys are:

  • location – Location of the remote storage in ‘storage_provider_type://[storage_path[:storage_port]]’ format.

  • s3_bucket_name – Name of the Amazon S3 bucket used as the data source.

  • s3_region – Name of the Amazon S3 region where the bucket is located.

  • hdfs_kerberos_keytab – Kerberos key for the given HDFS user.

  • user_name – Name of the remote system user.

info (dict of str to str) –

Additional information.