milleruntime opened a new issue #2076:
URL: https://github.com/apache/accumulo/issues/2076


   During recovery, the write ahead logs are read, sorted and written back to 
disk using `org.apache.hadoop.io.MapFile.Writer()`. If the On Disk Encryption 
feature is used, the sorted Map files will not be encrypted during this time. 
In order for the On Disk Encryption to be complete, these files need to be 
encrypted on disk. The best solution would probably be to use RFile, like is 
used with the rest of Accumulo. 
   
   Code dealing with sorting:
   
https://github.com/apache/accumulo/blob/bbd87a6693fc5cdbbe947b0821a4f05a18cf905b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/LogSorter.java#L177
   
https://github.com/apache/accumulo/blob/7e3c67d0c0b831d7d29c69e24d07dd700f24c5e0/server/manager/src/main/java/org/apache/accumulo/manager/recovery/RecoveryManager.java#L151
   Then tserver will recover the sorted logs:
   
https://github.com/apache/accumulo/blob/30ce59fd94f51b60a30ced328156f02d3223330b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java#L357-L358
   
https://github.com/apache/accumulo/blob/6a74b4667e3bd33e34b5262c5dd8ea64167fb657/server/tserver/src/main/java/org/apache/accumulo/tserver/log/SortedLogRecovery.java#L285-L286
   
   


-- 
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.

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


Reply via email to