cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Testing Databricks Auto Loader File Notification (File Event) in Public Preview - Spark Termination

dawn-dot-py
New Contributor II

I tried to test the Databricks Auto Loader file notification (file event) feature, which is currently in public preview, using a notebook for work purposes. However, when I ran display(df), Spark terminated and threw the error shown in the attached image.

Is the file event mode in the public preview phase currently not operational? I am still learning about Databricks, so I am asking here for help.

dawndotpy_0-1754542620496.png

1 ACCEPTED SOLUTION

Accepted Solutions

Advika
Databricks Employee
Databricks Employee

Hello @dawn-dot-py!

Auto Loader’s managed file events are indeed in Public Preview, but they’re available to allowlisted workspaces. The error you encountered means your workspace hasn’t been enrolled in the preview, which is expected unless you’ve been granted access.
To use this feature, you can reach out to Databricks Support or your account team to request enrollment. Until then, you can set cloudFiles.useManagedFileEvents=false.

https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode...

View solution in original post

1 REPLY 1

Advika
Databricks Employee
Databricks Employee

Hello @dawn-dot-py!

Auto Loader’s managed file events are indeed in Public Preview, but they’re available to allowlisted workspaces. The error you encountered means your workspace hasn’t been enrolled in the preview, which is expected unless you’ve been granted access.
To use this feature, you can reach out to Databricks Support or your account team to request enrollment. Until then, you can set cloudFiles.useManagedFileEvents=false.

https://docs.databricks.com/aws/en/ingestion/cloud-object-storage/auto-loader/file-notification-mode...

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now