kgeisz opened a new pull request, #7226:
URL: https://github.com/apache/hbase/pull/7226

   https://issues.apache.org/jira/browse/HBASE-29503
   
   This is a cherry-pick of PR #7203, which was merged into master as 
https://github.com/apache/hbase/commit/d80bbefb612098c11f4ddd874aead35bbc780d14.
   
   Currently, IntegrationTestBackupRestore is creating a separate thread to run 
the full/incremental backup and restore processes.  With this implementation, 
if an exception occurs in this thread, then an error will be logged but the 
integration test will still pass.  I initially noticed this while working on 
[HBASE-29411](https://issues.apache.org/jira/browse/HBASE-29411).  I also 
observed this behavior when I did not have changes from PR #7151 in my branch.
   
   This pull request turns the backup/restore thread into an actual class that 
implements Runnable.  Within this class, there is an instance variable that 
starts as `null` and records any exceptions that occur.  The main thread checks 
this instance variable when it joins the thread.  If this instance variable is 
not `null`, then the recorded exception is thrown.


-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to