keith-turner opened a new issue, #5087:
URL: https://github.com/apache/accumulo/issues/5087

   **Describe the bug**
   
   When the manager detects a failed compaction it attempts to clean up any 
files the compaction may have been writing.  To do this it looks for a file w/ 
the compaction uuid in the tablet diretcory in all volumes.  If a tablet has 
never written to a volume it will not have a directory there.  When a table 
does not have a directory in a volume [this code 
fails](https://github.com/apache/accumulo/blob/3c65bef27397f8e8ae4e45615a0054ea861dd9b4/server/manager/src/main/java/org/apache/accumulo/manager/compaction/coordinator/CompactionCoordinator.java#L855-L857)
 with a FileNotFoundException.
   
   When the FileNotFoundException happens this causes the search through the 
volumes to stop.  It also causes a noisy error log message that is not useful.
   
   
   **Versions (OS, Maven, Java, and others, as appropriate):**
    - Affected version(s) of this project: [e.g. 1.10.0]
    - OS: [e.g. CentOS 7.5]
    - Others:
   
   **To Reproduce**
   
   Kill a compaction on tablet in an accumulo system where the tablet does not 
have dirs on all volumes in the system.
   
   **Expected behavior**
   
   When a tablet does not have a directory in a volume the search for dead 
compaction files continues and logs no errors.  Could log a trace message.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to