Skip to content

Commit 064503b

Browse files
authored
[DOC] Add instructions on setting permissions and removing quarantine attribute for worker binaries (#784)
1 parent 4894956 commit 064503b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/getting-started/macos-instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ These instructions will show you how to run a .NET for Apache Spark app using .N
1818
- Download and install **[Microsoft.Spark.Worker](https://github.com/dotnet/spark/releases)** release:
1919
- Select a **[Microsoft.Spark.Worker](https://github.com/dotnet/spark/releases)** release from .NET for Apache Spark GitHub Releases page and download into your local machine (e.g., `/bin/Microsoft.Spark.Worker/`).
2020
- **IMPORTANT** Create a new environment variable using ```export DOTNET_WORKER_DIR <your_path>``` and set it to the directory where you downloaded and extracted the Microsoft.Spark.Worker (e.g., `/bin/Microsoft.Spark.Worker/`).
21+
- Make sure the worker is marked as executable and remove any "quarantined" attributes, e.g.:
22+
```bash
23+
chmod 755 /bin/Microsoft.Spark.Worker/Microsoft.Spark.Worker
24+
xattr -d com.apple.quarantine /bin/Microsoft.Spark.Worker/*
25+
```
2126

2227

2328
## Authoring a .NET for Apache Spark App

0 commit comments

Comments
 (0)