DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run a Fabric notebook on your own Spark hardware with Open Lakehouse Compute Fabric

Send a Fabric notebook to your own Spark workers with olcf.run_remote() and read OneLake directly.

Short answer: Set up a Fabric tenant you control, following the Fabric integration guide; then Attach the olcf_fabric wheel to a Fabric Environment and attach that environment to the notebook; Enroll at least one worker with olcf worker enroll-token, then start it on the machine with olcf-worker run. All steps.

Credentials. Fabric and Entra setup and worker enrollment tokens grant access to your OneLake data, so scope them tightly and keep them out of notebooks.

Who it is forA Fabric data engineer who wants heavy or sensitive notebook compute to run inside their own network instead of consuming Fabric capacity.

The problemLarge or sensitive Spark jobs in Fabric use Fabric capacity, and some workloads should stay on hardware the team controls.

The outcomeA Fabric notebook cell that runs on your Spark workers, with status, logs and the exit value returned to the cell and to any calling Fabric pipeline.

What you need first

  • Python and a Linux machine (the README says it runs end to end on Linux)
  • Installation of the OLCF package as described in the README Install section
  • For the multi-machine fabric: a Spark runtime installed with the JDK, and machines that can reach the control plane
  • For the Fabric extension: a Fabric tenant you control, the olcf_fabric wheel in a Fabric Environment, and Entra and network setup

Steps

  1. Set up a Fabric tenant you control, following the Fabric integration guide.
  2. Attach the olcf_fabric wheel to a Fabric Environment and attach that environment to the notebook.
  3. Enroll at least one worker with olcf worker enroll-token, then start it on the machine with olcf-worker run.
  4. Call olcf.run_remote() in a notebook cell and review the status and logs it returns.
  5. Check the OneLake output table to confirm the write happened.

Prompt for your agent

Use the open-lakehouse-compute-fabric repo (jddevtime/open-lakehouse-compute-fabric) and its Fabric integration guide. Attach the olcf_fabric wheel to a Fabric Environment, call olcf.run_remote() on <notebook name>, and report the returned status and exit value. Verify that the target OneLake table has the expected row count after the run.

Caveat. The README says the project is not Microsoft's runtime, claims no parity with Fabric's proprietary optimisations, and is not affiliated with Microsoft, so expect some notebooks to be rejected by the compatibility analyzer.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for jddevtime/open-lakehouse-compute-fabric and "Run a Fabric notebook on your own Spark hardware"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer