Skip to main content
Solved

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


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?

 

Best answer by mathialo

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.

View original
Did this topic help you find an answer to your question?

2 replies

  • Practitioner
  • 16 replies
  • Answer
  • October 6, 2023

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


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings