Shows information about a specified data source or all data sources.
Parameters
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.
Optional parameters. The default value is an empty dict ( ).
Returns
A dict with the following entries–
The data source names.
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 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.
Additional information.