title: How to execute a shell script on all nodes of an EMR cluster?
body: <p>Is there a proper way to execute a shell script on every node in a running EMR hadoop cluster?</p>
  
  <p>Everything I look for brings up bootstrap actions, but that only applies to when the cluster is starting, not for a running cluster.</p>
  
  <p>My application is using python, so my current guess is to use boto to list the IPs of each node in the cluster, then loop through each node and execute the shell script via ssh.</p>
  
  <p>Is there a better way?</p>