Details
Description
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.
Attachments
Issue Links
- links to