aztk/spark/client/cluster/operations.py
def run(self, id: str, command: str, host=False, internal: bool = False, timeout=None):
        """Run a bash command on every node in the cluster

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            command (:obj:`str`): the bash command to execute on the node.
            internal (:obj:`bool`): if true, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
            container_name=None (:obj:`str`, optional): the name of the container to run the command in.
                If None, the command will run on the host VM. Defaults to None.
            timeout=None (:obj:`str`, optional): The timeout in seconds for establishing a connection to the node.
                Defaults to None.

        Returns:
            :obj:`List[aztk.spark.models.NodeOutput]`:
                list of NodeOutput objects containing the output of the run command
        """
        return run.cluster_run(self._core_cluster_operations, id, command, host, internal, timeout)
Run a bash command on every node in the cluster

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            command (:obj:`str`): the bash command to execute on the node.
            internal (:obj:`bool`): if true, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
            container_name=None (:obj:`str`, optional): the name of the container to run the command in.
                If None, the command will run on the host VM. Defaults to None.
            timeout=None (:obj:`str`, optional): The timeout in seconds for establishing a connection to the node.
                Defaults to None.

        Returns:
            :obj:`List[aztk.spark.models.NodeOutput]`:
                list of NodeOutput objects containing the output of the run command
        
Run a bash command on every node in the cluster
Run a bash command on every node in the cluster
def run(self, id: str, command: str, host=False, internal: bool = False, timeout=None):
        return run.cluster_run(self._core_cluster_operations, id, command, host, internal, timeout)
def run ( self , id : str , command : str , host = False , internal : bool = False , timeout = None ) : return run . cluster_run ( self . _core_cluster_operations , id , command , host , internal , timeout )
Run a bash command on every node in the cluster
Run a bash command on every node in the cluster
"""Run a bash command on every node in the cluster

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            command (:obj:`str`): the bash command to execute on the node.
            internal (:obj:`bool`): if true, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
            container_name=None (:obj:`str`, optional): the name of the container to run the command in.
                If None, the command will run on the host VM. Defaults to None.
            timeout=None (:obj:`str`, optional): The timeout in seconds for establishing a connection to the node.
                Defaults to None.

        Returns:
            :obj:`List[aztk.spark.models.NodeOutput]`:
                list of NodeOutput objects containing the output of the run command
        """
:obj:`List[aztk.spark.models.NodeOutput]`:
list of NodeOutput objects containing the output of the run command
: obj : ` List [ aztk . spark . models . NodeOutput ] ` : list of NodeOutput objects containing the output of the run command
self
id
str
command
str
host
internal
bool
timeout
id (
`str`): the id of the cluster to run the command on.
` str ` ) : the id of the cluster to run the command on .
command (
`str`): the bash command to execute on the node.
` str ` ) : the bash command to execute on the node .
internal (
`bool`): if true, this will connect to the node using its internal IP.
Only use this if running within the same VNET as the cluster. Defaults to False.
` bool ` ) : if true this will connect to the node using its internal IP . Only use this if running within the same VNET as the cluster . Defaults to False .
container_name=None (
`str`, optional): the name of the container to run the command in.
If None, the command will run on the host VM. Defaults to None.
` str ` optional ) : the name of the container to run the command in . If None the command will run on the host VM . Defaults to None .
timeout=None (
`str`, optional): The timeout in seconds for establishing a connection to the node.
Defaults to None.
` str ` optional ) : The timeout in seconds for establishing a connection to the node . Defaults to None .