Nicholas Chammas created SPARK-2065:
---------------------------------------

             Summary: Have spark-ec2 set EC2 instance names
                 Key: SPARK-2065
                 URL: https://issues.apache.org/jira/browse/SPARK-2065
             Project: Spark
          Issue Type: Improvement
          Components: EC2
    Affects Versions: 1.0.0
            Reporter: Nicholas Chammas
            Priority: Trivial


{{spark-ec2}} launches EC2 instances with no names. It would be nice if it gave 
each instance it launched a descriptive name.

I suggest:
{code}
spark-{spark-cluster-name}-{master,slave}-{instance-id}
{code}

For example, the instances of a Spark cluster called {{prod1}} would have the 
following names:
{code}
spark-prod1-master-i-18a1f548
spark-prod1-slave-i-01a1f551
spark-prod1-slave-i-04a1f554
spark-prod1-slave-i-05a1f555
spark-prod1-slave-i-06a1f556
{code}

Amazon implements instance names as 
[tags|http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html], so 
that's what would need to be set for each launched instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to