-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 3.4.2-release-notes
- Loading branch information
Showing
160 changed files
with
1,296 additions
and
1,179 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"label": "Google Cloud Dataproc", | ||
"position": 8, | ||
"collapsible": true, | ||
"collapsed": true | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: "Connectivity Tips" | ||
id: gcp-dataproc-fabric-tips | ||
description: If your cluster doesn't connect, try these tips | ||
sidebar_position: 1 | ||
tags: | ||
- deployment | ||
- configuration | ||
- gcp | ||
- dataproc | ||
- livy | ||
--- | ||
|
||
:::tip | ||
Sometimes the Livy Cluster cannot access the Scala or Python libraries. | ||
::: | ||
|
||
### Error | ||
|
||
``` | ||
Creating new Livy Session... | ||
Using prophecy libs path...repo1.maven.org... | ||
Using python libraries...files.pythonhosted.org... | ||
... | ||
org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)\n\nYARN Diagnostics: ","level":"error" | ||
``` | ||
|
||
### Corrective Actions | ||
|
||
**Option 1:** | ||
Adjust network settings on the Livy Cluster to allow traffic from the Scala Prophecy Library url | ||
`repo1.maven.org` and the Python Prophecy Library url | ||
`files.pythonhosted.org`. | ||
|
||
**Option 2:** | ||
Configure the Scala and Python Library Paths as mentioned [here](./dataproc.md). | ||
Configure Scala Library Path. | ||
`gs://prophecy-public-gcp/prophecy-scala-libs/`. | ||
Configure Python Library Path. | ||
`gs://prophecy-public-gcp/prophecy-python-libs/`. | ||
|
||
**Option 3:** | ||
Setup an GCS bucket internally. Create two folders as in the previous option, and add `prophecy-scala-libs` and `prophecy-python-libs` in those folders. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
title: "Google Cloud Dataproc" | ||
id: gcp-dataproc-fabric-guide | ||
description: Configuring GCP Dataproc Fabric | ||
sidebar_position: 7 | ||
sidebar_position: 8 | ||
tags: | ||
- deployment | ||
- configuration | ||
|
@@ -26,7 +26,7 @@ Livy is required for the Fabric. Prophecy provides a script required to deploy a | |
|
||
1. If you don't already have a private key, create a private key for the service account that you're using. | ||
<br/><br/> | ||
<img src={require('./img/createkey.png').default} alt="dataproc security" width="75%" /> | ||
<img src={require('./../img/createkey.png').default} alt="dataproc security" width="75%" /> | ||
<br/><br/> | ||
2. Ensure you have the following permissions configured. | ||
|
||
|
@@ -79,35 +79,42 @@ gcloud config set account [email protected] | |
|
||
1. Create a Fabric and select **Dataproc**. | ||
<br/><br/> | ||
<img src={require('./img/selectdataproc.png').default} alt="select dataproc" width="75%" /> | ||
<img src={require('./../img/selectdataproc.png').default} alt="select dataproc" width="75%" /> | ||
<br/><br/> | ||
2. Fill out your **Project Name** and **Region**, and upload the **Private Key**. | ||
<br/><br/> | ||
<img src={require('./img/configuredataproc.png').default} alt="configure dataproc" width="75%" /> | ||
<img src={require('./../img/configuredataproc.png').default} alt="configure dataproc" width="75%" /> | ||
<br/><br/> | ||
3. Click on **Fetch environments** and select the Dataproc **cluster** that you created earlier. | ||
<br/><br/> | ||
<img src={require('./img/selectenv.png').default} alt="select cluster" width="75%" /> | ||
<img src={require('./../img/selectenv.png').default} alt="select cluster" width="75%" /> | ||
<br/><br/> | ||
4. Leave everything as default and provide the **Livy URL**. Locate the **External IP** of your cluster instance. Optionally, you may configure the DNS instead of using the IP. The URL is `http://<external-ip>:8998`. | ||
<br/><br/> | ||
<img src={require('./img/externalip.png').default} alt="livy ip" width="75%" /> | ||
<img src={require('./../img/externalip.png').default} alt="livy ip" width="75%" /> | ||
<br/><br/> | ||
5. Configure the bucket associated with your cluster. | ||
<br/><br/> | ||
<img src={require('./img/bucketloc.png').default} alt="bucket location" width="75%" /> | ||
<img src={require('./../img/bucketloc.png').default} alt="bucket location" width="75%" /> | ||
<br/><br/> | ||
6. Add the **Job Size**. | ||
<br/><br/> | ||
<img src={require('./img/procjobsize.png').default} alt="Job Size" width="55%" /> | ||
<img src={require('./../img/procjobsize.png').default} alt="Job Size" width="55%" /> | ||
<br/><br/> | ||
7. Configure Scala Library Path. | ||
`gs://prophecy-public-gcp/prophecy-scala-libs/`. | ||
8. Configure Python Library Path. | ||
`gs://prophecy-public-gcp/prophecy-python-libs/`. | ||
<br/><br/> | ||
<img src={require('./img/proclib.png').default} alt="dependences" width="85%" /> | ||
<img src={require('./../img/proclib.png').default} alt="dependences" width="85%" /> | ||
<br/><br/> | ||
9. Click on **Complete**. | ||
<br/><br/> | ||
Run a simple Pipeline and make sure that the interim returns data properly. | ||
|
||
```mdx-code-block | ||
import DocCardList from '@theme/DocCardList'; | ||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; | ||
<DocCardList items={useCurrentSidebarCategory().items}/> | ||
``` |
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.