hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17964) ensure hbase-metrics-api is included in mapreduce job classpaths
Date Thu, 27 Apr 2017 00:46:04 GMT

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

Andrew Purtell commented on HBASE-17964:
----------------------------------------

+1

> ensure hbase-metrics-api is included in mapreduce job classpaths
> ----------------------------------------------------------------
>
>                 Key: HBASE-17964
>                 URL: https://issues.apache.org/jira/browse/HBASE-17964
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 2.0.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17964.0.patch
>
>
> HBASE-9774 moved metrics stuff into a couple of additional modules. currently, MR against
snapshots fail because it's unable to find the metrics-api classes it needs for ClientSideRegionScanner.
> {code}
> Error: java.io.IOException: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/metrics/Snapshot
> at org.apache.hadoop.hbase.regionserver.HRegion.initializeStores(HRegion.java:1027)
> at org.apache.hadoop.hbase.regionserver.HRegion.initializeRegionInternals(HRegion.java:883)
> at org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:858)
> at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6694)
> at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6651)
> at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6622)
> at org.apache.hadoop.hbase.client.ClientSideRegionScanner.<init>(ClientSideRegionScanner.java:59)
> at org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl$RecordReader.initialize(TableSnapshotInputFormatImpl.java:211)
> at org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat$TableSnapshotRegionRecordReader.initialize(TableSnapshotInputFormat.java:140)
> at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:548)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message