cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.