Open
Conversation
mkaranasou
commented
Aug 22, 2020
| kryoserializer_buffer: '1024k' # It is suggested that you omit setting kryoserializer_buffer_max and kryoserializer_buffer and only set them if you get serialization errors. | ||
| driver_java_options: '-verbose:gc' # Optional. When on a local machine with less than 36GB of ram -XX:+UseCompressedOops | ||
| executor_extra_java_options: '-verbose:gc' # Optional. When on a local machine with less than 36GB of ram -XX:+UseCompressedOops | ||
| auth_secret: 'TEST_SECRET' # Optional. For RPC auth in cluster set up |
Collaborator
Author
There was a problem hiding this comment.
Needs to be tested on the cluster.
| keytool -exportcert -keystore "$KEYSTORE_PATH/keystore" -alias selfsigned -storepass $STORE_PASS -file spark.cer | ||
|
|
||
| # note: do not forget to import cert in all nodes | ||
| keytool -importcert -keystore "$TRUSTSTORE_PATH/truststore" -alias selfsigned -storepass $STORE_PASS -file spark.cer -noprompt No newline at end of file |
Collaborator
Author
There was a problem hiding this comment.
I have checked this only locally. We'll need to test this on the cluster.
| conf.set('spark.ssl.keyStore', spark_conf.ssl_keystore) | ||
| conf.set('spark.ssl.keyStorePassword', spark_conf.ssl_keystore_password) | ||
| conf.set('spark.ssl.keyPassword', spark_conf.ssl_keypassword) | ||
| conf.set('spark.ssl.protocol', 'TLSv1.2') |
Collaborator
Author
There was a problem hiding this comment.
not sure about the tls protocol version, will double check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding spark security and encryption. SSL and basic authentication for one user (one admin) for the UI.
closes #41