Skip to content

Commit

Permalink
Update medium-stats-spark-driver.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pavan-kumar-99 authored Jun 12, 2024
1 parent 43e52e8 commit 6ab67d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/medium/medium-stats-spark-driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ def process_data(bucket_name, bucket_prefix, local_path):
"spark.mongodb.write.connection.uri",
f"{mongodb_uri}",
)
.config(
"spark.hadoop.fs.s3a.access.key",
"H7FzkQTJ6o4mVJa1grZE",
)
.config(
"spark.hadoop.fs.s3a.secret.key",
"CGeGAuznUL8cEMIBJ8q2z5jwxk5GHthfoFoVbThj",
)
.getOrCreate()
)

Expand Down

0 comments on commit 6ab67d7

Please sign in to comment.