keith-turner opened a new pull request, #5776:
URL: https://github.com/apache/accumulo/pull/5776

   Changes in #5743 made RFileOperations use a HDFS builder to create an output 
stream.  Prior to using the builder the calls to HDFS to create an output 
stream would also create parent directories if they did not exist.  Seems the 
log recovery code in accumulo was relying on this behavior.  Added an option to 
the builder to create parent dirs if they do not exists.
   
   This problem was detected by TotalQueuedIT which was failing in log recovery 
and the tserver had exception about a parent directory not existing.  With 
these changes TotalQueuedIT now passes.
   
   Could not find javadoc on the old HDFS API calls that mentioned that the 
parent directory was created.  Wrote some test code that called the previous 
APIs and confirmed that parent dirs were created if needed.


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