aztk/spark/client/cluster/operations.py
def node_run(
            self,
            id: str,
            node_id: str,
            command: str,
            host=False,
            internal: bool = False,
            timeout=None,
            block=True,
    ):
        """Run a bash command on the given node

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            node_id (:obj:`str`): the id of the node in 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.
            block=True (:obj:`bool`, optional): If True, the command blocks until execution is complete.
        Returns:
            :obj:`aztk.spark.models.NodeOutput`: object containing the output of the run command
        """
        return node_run.node_run(self._core_cluster_operations, id, node_id, command, host, internal, timeout, block)
Run a bash command on the given node

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            node_id (:obj:`str`): the id of the node in 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.
            block=True (:obj:`bool`, optional): If True, the command blocks until execution is complete.
        Returns:
            :obj:`aztk.spark.models.NodeOutput`: object containing the output of the run command
        
Run a bash command on the given node
Run a bash command on the given node
def node_run(
            self,
            id: str,
            node_id: str,
            command: str,
            host=False,
            internal: bool = False,
            timeout=None,
            block=True,
    ):
        return node_run.node_run(self._core_cluster_operations, id, node_id, command, host, internal, timeout, block)
def node_run ( self , id : str , node_id : str , command : str , host = False , internal : bool = False , timeout = None , block = True , ) : return node_run . node_run ( self . _core_cluster_operations , id , node_id , command , host , internal , timeout , block )
Run a bash command on the given node
Run a bash command on the given node
"""Run a bash command on the given node

        Args:
            id (:obj:`str`): the id of the cluster to run the command on.
            node_id (:obj:`str`): the id of the node in 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.
            block=True (:obj:`bool`, optional): If True, the command blocks until execution is complete.
        Returns:
            :obj:`aztk.spark.models.NodeOutput`: object containing the output of the run command
        """
:obj:`aztk.spark.models.NodeOutput`: object containing the output of the run command
: obj : ` aztk . spark . models . NodeOutput ` : object containing the output of the run command
self
id
str
node_id
str
command
str
host
internal
bool
timeout
block
id (
`str`): the id of the cluster to run the command on.
` str ` ) : the id of the cluster to run the command on .
node_id (
`str`): the id of the node in the cluster to run the command on.
` str ` ) : the id of the node in 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 .
block=True (
`bool`, optional): If True, the command blocks until execution is complete.
` bool ` optional ) : If True the command blocks until execution is complete .