Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SparkGCE Script for Version 0.9.1 #681

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions gce/v0.9.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Spark GCE
=========

Spark GCE is like Spark Ec2 but for those who run their cluster on Google Cloud.

- Make Sure you have installed and authenticated gcutils where you are running this script.
- Helps you launch a spark cluster in the Google Cloud
- Attaches 500GB empty disk to all nodes in the cluster
- Installs and Configures everything Automatically ( Java 1.7.0, Spark/Shark 0.9.1, Hadoop2.2CDH5)
- Starts the Shark server Automatically

Spark GCE is a python script which will help you launch a spark cluster in the google cloud like the way spark_ec2 script does for AWS.

Usage
-----

> ***spark_gce.py project-name number-of-slaves slave-type master-type identity-file zone cluster-name***
>
>>
>> - **project-name**: Name of the project where you are going to launch your spark cluster.
>>
>> - **number-of-slave**: Number of slaves that you want to launch.
>>
>> - **slave-type**: Instance type for the slave machines.
>>
>> - **master-type**: Instance type for the master node.
>>
>> - **identity-file**: Identity file to authenticate with your GCE instances, Usually resides at *~/.ssh/google_compute_engine* once you authenticate using gcutils.
>>
>> - **zone:** Specify the zone where you are going to launch the cluster.
>>
>> - **cluster-name**: Name the cluster that you are going to launch.
>>
>
> ***spark_gce.py project-name cluster-name destroy***
>
>> - **project-name:** Name of the project where the spark cluster is at.
>> - **cluster-name:** Name of the cluster that you are going to destroy.


Loading