Skip to content

Commit

Permalink
docs: fix presigned mode for spark shell example (#6755)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Oct 11, 2023
1 parent 54db640 commit 1c68368
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/integrations/spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,13 +617,12 @@ When using this mode, you don't need to configure the client with access to your
</ul>
<div markdown="1" id="config-cli">
```shell
spark-shell --conf spark.hadoop.fs.access.mode=presigned \
spark-shell --conf spark.hadoop.fs.lakefs.access.mode=presigned \
--conf spark.hadoop.fs.lakefs.impl=io.lakefs.LakeFSFileSystem \
--conf spark.hadoop.fs.lakefs.access.key=AKIAlakefs12345EXAMPLE \
--conf spark.hadoop.fs.lakefs.secret.key=abc/lakefs/1234567bPxRfiCYEXAMPLEKEY \
--conf spark.hadoop.fs.lakefs.endpoint=https://example-org.us-east-1.lakefscloud.io/api/v1 \
--packages io.lakefs:hadoop-lakefs-assembly:0.1.15 \
io.example.ExampleClass
--packages io.lakefs:hadoop-lakefs-assembly:0.1.15
```
</div>
<div markdown="1" id="config-scala">
Expand Down

0 comments on commit 1c68368

Please sign in to comment.