You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by douglaz <gi...@git.apache.org> on 2014/06/24 01:16:10 UTC

[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

GitHub user douglaz opened a pull request:

    https://github.com/apache/spark/pull/1186

    SPARK-2246: Add user-data option to EC2 scripts

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/douglaz/spark spark_ec2_user_data

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1186.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1186
    
----
commit 94a36f9e9bca8da753351361d8221f6f65a56a7a
Author: Allan Douglas R. de Oliveira <al...@chaordicsystems.com>
Date:   2014-06-01T22:26:53Z

    Added user data option to EC2 script

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/1186


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1186#issuecomment-49494131
  
    Can one of the admins verify this patch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1186#issuecomment-50972094
  
    Hey @douglaz - I looked around at the AWS API and it appears that this is a somewhat generic API (i.e. it doesn't necessarily have to contain a script).
    
    ```
    UserData - string - Optional - Optional data, specific to a user’s application, to provide in the launch request. All instances that collectively comprise the launch request have access to this data. User data is never returned through API responses.
    ```
    
    http://docs.aws.amazon.com/AWSSDKforPHP/latest/index.html#m=AmazonEC2/request_spot_instances
    
    I couldn't find much more information than this online. Is this something where a few specific AMI types interpret this as a script and execute it on start-up?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1186#issuecomment-46914710
  
    Can one of the admins verify this patch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: SPARK-2246: Add user-data option to EC2 script...

Posted by douglaz <gi...@git.apache.org>.
Github user douglaz commented on the pull request:

    https://github.com/apache/spark/pull/1186#issuecomment-50989983
  
    @pwendell I think all AMIs interpret this way (at least all based on Amazon Linux or Ubuntu, from my experience). If it starts with a hashbang, then it is executed on start-up.
    
    Yes, it can be anything (and the code accepts anything), but I've seen it only being used as some sort of script.
    
    Feel free to change the description. I described this way because it's a good combination between being short, generic and informative. Otherwise I would describe it as "The EC2 data stuff. Consult the Amazon documentation for more (poor) information"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org