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

[SPARK-26324][DOCS] Add Spark docs for Running in Mesos with SSL #23342

Closed
wants to merge 22 commits into from

Conversation

jomach
Copy link
Contributor

@jomach jomach commented Dec 18, 2018

What changes were proposed in this pull request?

Added docs for running spark jobs with Mesos on SSL

jomach and others added 21 commits October 4, 2017 15:09
 -Added documentation for loading csv files into Dataframes
 - Some examples on how to create a dataframe with a csv file

(cherry picked from commit e8ca1dc)
 -Added documentation for loading csv files into Dataframes
 - Some examples on how to create a dataframe with a csv file

(cherry picked from commit a546421)
# Conflicts:
#	docs/sql-programming-guide.md
#	examples/src/main/java/org/apache/spark/examples/sql/JavaSQLDataSourceExample.java
#	examples/src/main/r/RSparkSQLExample.R
 - Some examples on how to create a dataframe with a csv file
   * Added full docs for reading csv files
   * Added full docs for reading csv files
  - remove old json line from chapter
  - update links
# Conflicts:
#	docs/sql-programming-guide.md
* added documentation for SSL with Mesos
@@ -108,6 +108,19 @@ Please note that if you specify multiple ways to obtain the credentials then the

An equivalent order applies for the secret. Essentially we prefer the configuration to be specified directly rather than indirectly by files, and we prefer that configuration settings are used over environment variables.

### Deploy to a Mesos running on Secure Sockets

If you want to deploy a Spark Application into a Mesos cluster that is running in a secure mode there are some environment's variables that need to be set.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

environment variables


all options can be found at http://mesos.apache.org/documentation/latest/ssl/

Then submit as usual or as described below
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps say as described in Client mode or Cluster mode below

- `LIBPROCESS_SSL_KEY_FILE=pathToKeyFile.key` path to key
- `LIBPROCESS_SSL_CERT_FILE=pathToCRTFile.crt` the certificate file to be used

all options can be found at http://mesos.apache.org/documentation/latest/ssl/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all -> All

 * PR comments
@jomach
Copy link
Contributor Author

jomach commented Dec 19, 2018

@srowen @felixcheung pr updated

@srowen srowen closed this in a888d20 Dec 20, 2018
@srowen
Copy link
Member

srowen commented Dec 20, 2018

It is merged to master. I missed running the tests so those are running now, but it's a doc change and shouldn't be a problem

@jomach
Copy link
Contributor Author

jomach commented Dec 20, 2018

I saw it. I was just confused about the git symbol. Thx

@SparkQA
Copy link

SparkQA commented Dec 20, 2018

Test build #4482 has finished for PR 23342 at commit fbc2e70.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Dec 20, 2018

That error can be ignored; this didn't cause functional changes in Python

holdenk pushed a commit to holdenk/spark that referenced this pull request Jan 5, 2019
## What changes were proposed in this pull request?
Added docs for running spark jobs with Mesos on SSL

Closes apache#23342 from jomach/master.

Lead-authored-by: Jorge Machado <jorge.w.machado@hotmail.com>
Co-authored-by: Jorge Machado <dxc.machado@extaccount.com>
Co-authored-by: Jorge Machado <jorge.machado.ext@kiwigrid.com>
Co-authored-by: Jorge Machado <JorgeWilson.Machado@ext.gfk.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
Added docs for running spark jobs with Mesos on SSL

Closes apache#23342 from jomach/master.

Lead-authored-by: Jorge Machado <jorge.w.machado@hotmail.com>
Co-authored-by: Jorge Machado <dxc.machado@extaccount.com>
Co-authored-by: Jorge Machado <jorge.machado.ext@kiwigrid.com>
Co-authored-by: Jorge Machado <JorgeWilson.Machado@ext.gfk.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants