hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <>
Subject [jira] [Updated] (HIVE-6584) Add HiveHBaseTableSnapshotInputFormat
Date Thu, 31 Jul 2014 18:33:41 GMT


Nick Dimiduk updated HIVE-6584:

    Attachment: HIVE-6584.14.patch

Once more, for old time's sake, eh [~navis]? ;)

Attaching and updated patch that isolates the snapshot classes from the StorageHandler. I
tried this out against a local-mode HBase built against the tag 0.96.0RC5 (I didn't see a
release tag, surprisingly...). Regular online operations work as expected. When I {{set;}},
I get a nice error message in my stacktrace:

FAILED: RuntimeException This version of HBase does not support Hive over table snapshots.
Please upgrade to at least HBase 0.98.3 or later. See HIVE-6584 for details.

I hope this meets your requirement.

> Add HiveHBaseTableSnapshotInputFormat
> -------------------------------------
>                 Key: HIVE-6584
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: HBase Handler
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 0.14.0
>         Attachments: HIVE-6584.0.patch, HIVE-6584.1.patch, HIVE-6584.10.patch, HIVE-6584.11.patch,
HIVE-6584.12.patch, HIVE-6584.13.patch, HIVE-6584.14.patch, HIVE-6584.2.patch, HIVE-6584.3.patch,
HIVE-6584.4.patch, HIVE-6584.5.patch, HIVE-6584.6.patch, HIVE-6584.7.patch, HIVE-6584.8.patch,
> HBASE-8369 provided mapreduce support for reading from HBase table snapsopts. This allows
a MR job to consume a stable, read-only view of an HBase table directly off of HDFS. Bypassing
the online region server API provides a nice performance boost for the full scan. HBASE-10642
is backporting that feature to 0.94/0.96 and also adding a {{mapred}} implementation. Once
that's available, we should add an input format. A follow-on patch could work out how to integrate
this functionality into the StorageHandler, similar to how HIVE-6473 integrates the HFileOutputFormat
into existing table definitions.

This message was sent by Atlassian JIRA

View raw message