[ 
https://issues.apache.org/jira/browse/HBASE-28298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HBASE-28298:
-----------------------------------
    Labels: pull-request-available  (was: )

> HFilePrettyPrinter thrown NoSuchMethodError about MetricRegistry
> ----------------------------------------------------------------
>
>                 Key: HBASE-28298
>                 URL: https://issues.apache.org/jira/browse/HBASE-28298
>             Project: HBase
>          Issue Type: Bug
>          Components: HFile, UI
>    Affects Versions: 2.5.6
>            Reporter: Moran
>            Priority: Major
>              Labels: pull-request-available
>
> {{When I view the contents of the HFile through storeFile.jsp or hbase hfile 
> -p -v xxxx, it will throw an exception similar to the following:}}
>  
> {{HTTP ERROR 500 java.lang.NoSuchMethodError: 'com.codahale.metrics.Histogram 
> com.codahale.metrics.MetricRegistry.histogram(java.lang.String, 
> com.codahale.metrics.MetricRegistry$MetricSupplier)'}}
> ||URI:|/storeFile.jsp|
> ||STATUS:|500|
> ||MESSAGE:|java.lang.NoSuchMethodError: 'com.codahale.metrics.Histogram 
> com.codahale.metrics.MetricRegistry.histogram(java.lang.String, 
> com.codahale.metrics.MetricRegistry$MetricSupplier)'|
> ||SERVLET:|org.apache.hadoop.hbase.generated.regionserver.storeFile_jsp|
> ||CAUSED BY:|java.lang.NoSuchMethodError: 'com.codahale.metrics.Histogram 
> com.codahale.metrics.MetricRegistry.histogram(java.lang.String, 
> com.codahale.metrics.MetricRegistry$MetricSupplier)'|
> I found that there were conflicting files in the lib folder, specifically 
> metrics-core-3.0.1.jar and metrics-core-3.2.6.jar. After deleting 
> metrics-core-3.0.1.jar, the functionality returned to normal.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to