-
Notifications
You must be signed in to change notification settings - Fork 117
A number of small tweaks to the MVP. #23
Conversation
mccheah
commented
Jan 17, 2017
- Master protocol defaults to https if not specified
- Removed upload driver extra classpath functionality
- Added ability to specify main app resource with container:// URI
- Shut down the REST server and thus the driver pod once the application completes
- Updated docs to reflect all of the above
- Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything to the cluster
- Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything
|
@foxish @ash211 @erikerlandson bunch of small things here, though in retrospect each of these should be its own pull request. |
docs/running-on-kubernetes.md
Outdated
| `spark.master` in the application's configuration, must be a URL with the format `k8s://<api_server_url>`. Prefixing the | ||
| master string with `k8s://` will cause the Spark application to launch on the Kubernetes cluster, with the API server | ||
| being contacted at `api_server_url`. The HTTP protocol must also be specified. | ||
| being contacted at `api_server_url`. If no HTTP protocol is specified in the URL, it defaults to `https`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide an example of what this looks like. The double protocol thing is confusing as-is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
…te-incremental' into small-tweaks
| sparkConf, | ||
| secretBytes) | ||
| secretBytes, | ||
| barrier) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was barrier added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The barrier needs to count down to unblock the main thread whenever we stop the server.
|
I still haven't gone over this change completely as I do not completely understand some parts of it. I'd like to go over it once tonight. Can we merge this tomorrow? |
|
LGTM |
…te-incremental' into small-tweaks
ash211
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@foxish @erikerlandson either of you have any concerns? Otherwise let's merge this
|
LGTM |
* A number of small tweaks to the MVP. - Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything * Add example to documentation.
* A number of small tweaks to the MVP. - Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything * Add example to documentation.
* A number of small tweaks to the MVP. - Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything * Add example to documentation.
* A number of small tweaks to the MVP. - Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything * Add example to documentation.
* A number of small tweaks to the MVP. - Master protocol defaults to https if not specified - Removed upload driver extra classpath functionality - Added ability to specify main app resource with container:// URI - Updated docs to reflect all of the above - Add examples to Docker images, mostly for integration testing but could be useful for easily getting started without shipping anything * Add example to documentation.