Restore fails: "Cannot perform the COSP operation, skipping the object: [/testdata/FxtZMidEdTK]"
Explanation
Restore jobs fail when the files or directories that are uploaded to Azure Data Lake Gen2 account using DFS API's Overwrite function, replacing the original files.
In the nbcosp logs as you can see the error:
*RESPONSE ERROR (ServiceCode=BlobOperationNotSupported) =====\nDescription=Blob operation is not supported.
Note:
In this issue, files that are uploaded to Azure portal using the option are not included.
Workaround
Do any of the following:
Try restore operation on the same container to a different directory.
Try restore operation to a different container.
Try restore operation to a different destination.
Delete the original directory, and then try to restore to the same location.