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:ย 

Custom application log files copy fails in Shared Unity Catalog Cluster

rk_db
New Contributor II

We have a use case of implementing custom logging framework for capturing the various details while executing a notebook. At the end of the notebook, the log file gets copied from driver's /tmp folder into Data lake Storage's container.

While this process works perfectly in normal all purpose clusters, it has been failing ever since we moved on to Shared Unity Catalog cluster.

We use this below code to copy the file into ABFSS path. A separate external location has also been defined for the purpose of log files.

dbutils.fs.cp("file:"+log_file_path, "abfss://application-logs@<storageaccount>.dfs.core.windows.net/adb" + date_folders + log_file_name, True)

0 REPLIES 0

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