-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(emr): set PYSPARK_PYTHON to python 3.11 (#13487)
- Loading branch information
1 parent
0319324
commit 2941b6e
Showing
8 changed files
with
119 additions
and
66 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
11 changes: 5 additions & 6 deletions
11
aws/aws-secrets-manager/secrets/hm-iot-rds-secret.json.template
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"engine": "postgres", | ||
"postgres_host": "hm-iot-rds.xxxxxxxxxxxx.us-west-2.rds.amazonaws.com", | ||
"postgres_port": "5432", | ||
"postgres_db": "hm_iot_db", | ||
"postgres_user": "hm_iot_db_readonly", | ||
"postgres_password": "xxx" | ||
"host": "hm-iot-rds.xxxxxxxxxxxx.us-west-2.rds.amazonaws.com", | ||
"port": "5432", | ||
"db": "hm_iot_db", | ||
"user": "hm_iot_db_readonly", | ||
"password": "xxx" | ||
} |
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
15 changes: 15 additions & 0 deletions
15
terraform/data/amazon-emr/hm-amazon-emr-cluster-sedona/steps/validate_python_version.py
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,15 @@ | ||
import logging | ||
import sys | ||
|
||
from pyspark.sql import SparkSession | ||
|
||
|
||
def main() -> None: | ||
SparkSession.builder.getOrCreate() | ||
logging.info(sys.version_info) | ||
assert (sys.version_info.major, sys.version_info.minor) == (3, 11) | ||
|
||
|
||
if __name__ == "__main__": | ||
logging.basicConfig(level=logging.INFO) | ||
main() |
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