Solved

Error while ingesting file to CDF using File Extractor when file is opened.

  • 5 October 2023
  • 2 replies
  • 63 views

Hi team,

 

We are facing an issue while uploading a file to CDF using smb yaml configurations using File Extractor, please find the error below.

2023-10-05 12:38:42.043 UTC [ERROR   ] MainThread - Could not upload file xxx.pdf to CDF: [Error 1] [NtStatus 0xc0000043] The process cannot access the file because it is being used by another process: xxx.pdf'

How can we fix this issue as many users might be using file share in different locations at the same time while uploading it will be difficult to know?

 

icon

Best answer by mathialo 6 October 2023, 13:07

View original

2 replies

This is an error coming from the operating system. The file is being locked by another process, meaning no other processes (such as the file extractor) can access it. This can for example happen when another process is writing to the file.

You can read more about file locking on Wikipedia, the article there also had a few examples of scenarios this might happen in.

We will look into if we can implement any automatic retries when this happens, but there aren’t really much to do here except trying again at a different time.

Thanks, Mathialo for the reply!

 

 

 

Reply