slippinj.emr package¶
Subpackages¶
Submodules¶
slippinj.emr.cluster module¶
-
class
slippinj.emr.cluster.
EmrCluster
(self_, *args, **kwargs)[source]¶ Bases:
object
Handle all EMR cluster information and configuration
-
exec_command
(command, cluster_id, stop_on_error=False)[source]¶ Execute given command in the master of the selected cluster :param command: string :param cluster_id: string :param stop_on_error: boolean :return: string
-
get_cluster_information
(cluster_id)[source]¶ Get the cluster information from the AWS API :param cluster_id: string :return: dict
-
slippinj.emr.deploy module¶
-
class
slippinj.emr.deploy.
EmrDeploy
(self_, *args, **kwargs)[source]¶ Bases:
object
Execute all the deploy process inside an EMR cluster