hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhou wenjian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6478) TestClassLoading.testClassLoadingFromLibDirInJar in coprocessor may appear fail due to waitTableAvailable
Date Tue, 31 Jul 2012 04:58:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425525#comment-13425525
] 

zhou wenjian commented on HBASE-6478:
-------------------------------------

2012-07-30 08:45:13,064 INFO  [PostOpenDeployTasks:39b54afdde90440b881f2ae4da4023f7] catalog.MetaEditor(263):
Updated row TestClassLoading,,1343637912060.39b54afdde90440b881f2ae4da4023f7. with server=asf011.sp2.ygridcore.net,57973,1343637893717
2012-07-30 08:45:13,064 INFO  [PostOpenDeployTasks:39b54afdde90440b881f2ae4da4023f7] regionserver.HRegionServer(1669):
Done with post open deploy task for region=TestClassLoading,,1343637912060.39b54afdde90440b881f2ae4da4023f7.,
daughter=false

08:45:13,064 the rs updated meta table

2012-07-30 08:45:13,076 DEBUG [pool-1-thread-1] client.MetaScanner(202): Scanning .META. starting
at row=TestClassLoading,,00000000000000 for max=2147483647 rows using hconnection 0x4b3f8b
2012-07-30 08:45:13,084 DEBUG [pool-1-thread-1] client.MetaScanner(202): Scanning .META. starting
at row= for max=2147483647 rows using hconnection 0x4b3f8b

08:45:13,084  client began to scan


2012-07-30 08:45:13,122 DEBUG [RS_OPEN_REGION-asf011.sp2.ygridcore.net,57973,1343637893717-1]
zookeeper.ZKAssign(824): regionserver:57973-0x138d70f2ebd0001 Successfully transitioned node
39b54afdde90440b881f2ae4da4023f7 from RS_ZK_REGION_OPENING to RS_ZK_REGION_OPENED
2012-07-30 08:45:13,122 DEBUG [RS_OPEN_REGION-asf011.sp2.ygridcore.net,57973,1343637893717-1]
handler.OpenRegionHandler(286): region transitioned to opened in zookeeper: {NAME => 'TestClassLoading,,1343637912060.39b54afdde90440b881f2ae4da4023f7.',
STARTKEY => '', ENDKEY => '', ENCODED => 39b54afdde90440b881f2ae4da4023f7,}, server:
asf011.sp2.ygridcore.net,57973,1343637893717
2012-07-30 08:45:13,122 DEBUG [RS_OPEN_REGION-asf011.sp2.ygridcore.net,57973,1343637893717-1]
handler.OpenRegionHandler(142): Opened TestClassLoading,,1343637912060.39b54afdde90440b881f2ae4da4023f7.
on server:asf011.sp2.ygridcore.net,57973,1343637893717

08:45:13,122 the region was added into onlineregions

so during (08:45:13,084 - 08:45:13,122) hbase.getRegionServer(0).getOnlineRegionsLocalContext()
returns empty ,so found1 remains to be false.
                
> TestClassLoading.testClassLoadingFromLibDirInJar in coprocessor may appear fail due to
waitTableAvailable
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6478
>                 URL: https://issues.apache.org/jira/browse/HBASE-6478
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.94.0
>            Reporter: zhou wenjian
>             Fix For: 0.96.0
>
>
> When hudson runs for HBASE-6459, it encounters a failed testcase in org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromLibDirInJar.
The link is https://builds.apache.org/job/PreCommit-HBASE-Build/2455/testReport/org.apache.hadoop.hbase.coprocessor/TestClassLoading/testClassLoadingFromLibDirInJar/
> I check the log, and find that the function waitTableAvailable will only check the meta
table, when rs open the region and update the metalocation in meta, it may not be added to
the onlineregions in rs.
> for (HRegion region:
>         hbase.getRegionServer(0).getOnlineRegionsLocalContext()) {
> this Loop will ship, and found1 will be false altogether.
> that's why the testcase failed.
> So maybe we can  hbave some strictly check when table is created

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message