hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17964) ensure hbase-metrics-api is included in mapreduce job classpaths
Date Thu, 04 May 2017 15:53:04 GMT

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

Sean Busbey updated HBASE-17964:
--------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

okay, finally got to verify this change running the snapshot integration test against a cluster.

I have some logging improvements that let me figure out what I was doing wrong; I'll make
a follow on with those.

> 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