As a reminder, here are the components in play to run an application:
- The cluster:
- Spark Master: coordinates the resources
- Spark Workers: offer resources to run the applications
- The application:
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
| require 'bundler/capistrano' | |
| set :application, "net" | |
| set :repository, "[email protected]:net.git" | |
| set :scm, :git | |
| set :default_environment, { | |
| 'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" | |
| } |
| set :application, "your_application_name" | |
| set :ip_address , "000.000.000.000" | |
| set :scm, :git | |
| set :repository, "[email protected]:albertoleal/OlaMundo.git" | |
| set :branch, "master" | |
| set :deploy_via, :remote_cache # Deploy only the changes you have made since last deploy. | |
| set :user , "albertoleal" | |
| set :deploy_to, "/home/albertoleal/#{application}" |