You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xu Cang (JIRA)" <ji...@apache.org> on 2019/02/06 00:37:00 UTC
[jira] [Commented] (HBASE-21848) Fix tests in
TestRegionLocationCaching
[ https://issues.apache.org/jira/browse/HBASE-21848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761331#comment-16761331 ]
Xu Cang commented on HBASE-21848:
---------------------------------
I identified this test failure is also caused by https://issues.apache.org/jira/browse/HBASE-21775
{code:java}
- if (tableName == null && ClientExceptionsUtil.isMetaClearingException(regionException)) {
+ if (ClientExceptionsUtil.isMetaClearingException(regionException)) {
// For multi-actions, we don't have a table name, but we want to make sure to clear the
// cache in case there were location-related exceptions. We don't to clear the cache
// for every possible exception that comes through, however.
connection.clearCaches(server);
}
{code}
This is causing clearing caches.
> Fix tests in TestRegionLocationCaching
> ---------------------------------------
>
> Key: HBASE-21848
> URL: https://issues.apache.org/jira/browse/HBASE-21848
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Xu Cang
> Assignee: Xu Cang
> Priority: Minor
>
> There are 4 flaky tests in TestRegionLocationCaching.
> They are in flaky tests list too: https://builds.apache.org/view/H-L/view/HBase/job/HBase-Find-Flaky-Tests/job/branch-1/lastSuccessfulBuild/artifact/dashboard.html
> [ERROR] TestRegionLocationCaching.testCachingForHTableMultiPut:133->checkRegionLocationIsCached:148 Expected non-zero number of cached region locations. Actual: 0
> [ERROR] TestRegionLocationCaching.testCachingForHTableMultiplexerMultiPut:95->checkRegionLocationIsCached:148 Expected non-zero number of cached region locations. Actual: 0
> [ERROR] TestRegionLocationCaching.testCachingForHTableMultiplexerSinglePut:73->checkRegionLocationIsCached:148 Expected non-zero number of cached region locations. Actual: 0
> [ERROR] TestRegionLocationCaching.testCachingForHTableSinglePut:116->checkRegionLocationIsCached:148 Expected non-zero number of cached region locations. Actual: 0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)