models.hdfs_connect_params module¶
-
class
models.hdfs_connect_params.
HdfsConnectParams
(hadoop_distribution=None, hadoop_version=None, kerberos_principal=None, namenode=None, port=None)[source]¶ Bases:
object
Implementation of the ‘HdfsConnectParams’ model.
Specifies an Object containing information about a registered Hdfs source.
- Attributes:
- hadoop_distribution (HadoopDistributionEnum): Specifies the Hadoop
Distribution. Hadoop distribution.
‘CDH’ indicates Hadoop distribution type Cloudera. ‘HDP’ indicates Hadoop distribution type Hortonworks.
hadoop_version (string): Specifies the Hadoop version kerberos_principal (string): Specifies the kerberos principal. namenode (string): Specifies the Namenode host or Nameservice. port (int): Specifies the Webhdfs Port
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.