Uh oh!
There was an error while loading. Please reload this page.
HBASE-27852: Interrupt BucketCachePersister thread when BucketCache i… - #5230
Conversation
Apache-HBase
commented
May 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 11, 2023
🎊 +1 overall
This message was automatically generated. |
| } catch (IOException e) { | ||
| LOG.warn("IOException in BucketCachePersister" + e.getMessage()); | ||
| } catch (InterruptedException iex) { | ||
| LOG.warn("InterruptedException in BucketCachePersister" + iex.getMessage()); | ||
| break; |
There was a problem hiding this comment.
nit: parameterised logging.
| private final BucketCacheStats cacheStats = new BucketCacheStats(); | ||
| /** BucketCache persister thread */ | ||
| BucketCachePersister cachePersister; |
| final java.nio.file.Path mapFile = | ||
| FileSystems.getDefault().getPath(testDir.toString(), "bucket.persistence"); | ||
| assertTrue(Files.deleteIfExists(mapFile)); | ||
| Thread.sleep(1500); |
There was a problem hiding this comment.
Could we expedite this test by reducing the configured bucketcachePersistInterval to 100ms only? Then we could reduce this sleep to a lower value too, say 150ms.
Apache-HBase
commented
May 11, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 11, 2023
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
May 12, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 12, 2023
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 12, 2023
🎊 +1 overall
This message was automatically generated. |
…ucketCache is shutdown (apache#5230) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> (cherry picked from commit e343584) Change-Id: I732be093d06cedecd607b83fea00d5306cabeee8
…s shutdown
Jira: https://issues.apache.org/jira/browse/HBASE-27852