You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/10/29 20:33:38 UTC

[GitHub] [accumulo] milleruntime commented on issue #1303: Explore creating unique directories for sorted WAL recovery

milleruntime commented on issue #1303:
URL: https://github.com/apache/accumulo/issues/1303#issuecomment-719005102


   I think the unique directory would have to be added to the destination path here: 
   https://github.com/apache/accumulo/blob/3fd5cad92f9b63ac19e4466f3f2d5237b905262c/server/base/src/main/java/org/apache/accumulo/server/master/recovery/RecoveryPath.java#L45
   
   It looks like that method `getRecoveryPath(Path walPath)` takes the WAL path and returns the recovery path for sorting.  So given something like:
   `source = hdfs:/accumulo/wal/ip-10-113-12-25+9997/bd9a7597-b51f-415a-9648-0363913749d0` 
   it will return `dest = hdfs:/accumulo/recovery/bd9a7597-b51f-415a-9648-0363913749d0`


----------------------------------------------------------------
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:
users@infra.apache.org