hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8426) Opening a region failed on "Metrics source RegionServer,sub=Regions already exists!"
Date Thu, 25 Apr 2013 23:08:17 GMT

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

Elliott Clark commented on HBASE-8426:
--------------------------------------

Nope there's not much harm.  We take a lock.  But we're already in a synchronized method so
it should just be free.
                
> Opening a region failed on "Metrics source RegionServer,sub=Regions already exists!"
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-8426
>                 URL: https://issues.apache.org/jira/browse/HBASE-8426
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Elliott Clark
>            Priority: Critical
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: HBASE-8426-0.patch, HBASE-8426-1.patch, metrics_already_exist.txt
>
>
> I restarted a cluster on 0.95 (1ecd4c7e0b22bba75c76f2fc2ce369541502b6df) and some regions
failed to open on their first assignment on an exception like:
> {noformat}
> Caused by: org.apache.hadoop.metrics2.MetricsException: Metrics source RegionServer,sub=Regions
already exists!
> 	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:126)
> 	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:107)
> 	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:217)
> 	at org.apache.hadoop.hbase.metrics.BaseSourceImpl.<init>(BaseSourceImpl.java:75)
> 	at org.apache.hadoop.hbase.regionserver.MetricsRegionAggregateSourceImpl.<init>(MetricsRegionAggregateSourceImpl.java:49)
> 	at org.apache.hadoop.hbase.regionserver.MetricsRegionAggregateSourceImpl.<init>(MetricsRegionAggregateSourceImpl.java:41)
> 	at org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactoryImpl.getAggregate(MetricsRegionServerSourceFactoryImpl.java:33)
> 	at org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactoryImpl.createRegion(MetricsRegionServerSourceFactoryImpl.java:50)
> 	at org.apache.hadoop.hbase.regionserver.MetricsRegion.<init>(MetricsRegion.java:35)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:488)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:400)
> {noformat}
> I'm attaching a bigger log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message