<div dir="ltr"><div class="markdown-here-wrapper" style><p style="margin:1.2em 0px!important">Howdy!</p>
<p style="margin:1.2em 0px!important">At <a href="http://youtu.be/vC3lJcPq1FY?t=7m20s">this point in the StarCluster demo video</a>, the presenter runs the following command to list all the clusters being managed by StarCluster:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">starcluster listclusters
</code></pre><p style="margin:1.2em 0px!important">How does StarCluster track all the clusters it’s managing? Is it through the use of EC2 instance tags? A pointer to the relevant code would also be helpful.</p>
<p style="margin:1.2em 0px!important">I’m looking to implement a feature similar to <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">listclusters</code> but for <a href="http://spark.apache.org/docs/1.2.1/ec2-scripts.html">spark-ec2</a>. Tagging seems like the way to go to do that, but <a href="https://issues.apache.org/jira/browse/SPARK-3332">we had some issues with it</a> when we used it with spark-ec2.</p>
<p style="margin:1.2em 0px!important">So I’m curious to know how StarCluster did things.</p>
<p style="margin:1.2em 0px!important">Nick</p>
<div title="MDH:SG93ZHkhPGRpdj48YnI+PC9kaXY+PGRpdj5BdCA8YSBocmVmPSJodHRwOi8veW91dHUuYmUvdkMz
bEpjUHExRlk/dD03bTIwcyI+dGhpcyBwb2ludCBpbiB0aGUgU3RhckNsdXN0ZXIgZGVtbyB2aWRl
bzwvYT4sJm5ic3A7dGhlIHByZXNlbnRlciBydW5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