Skip to content

Commit

Permalink
md example for extra field in custom SSHSparkOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadMuhammadGd committed Sep 13, 2024
1 parent d8f9746 commit ddfb51f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions airflow/plugins/operators/sparkSSH.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# SSHSparkOperator

This is an extra field example
> It's important to submit minio-related spark jobs
## How to use?
- Create an SSH connection with hostname, password, and port
- In case of using Minio-related spark submits, add this extra field:
```json
{
"AWS_ACCESS_KEY_ID": "admin",
"AWS_SECRET_ACCESS_KEY": "password",
"AWS_REGION": "us-east-1",
"AWS_DEFAULT_REGION": "us-east-1"
}
```
```
## Important Note
DO NOT USE THIS IN PRODUCTION !!!!!!!!

0 comments on commit ddfb51f

Please sign in to comment.