GithubHelp home page GithubHelp logo

lhfcws / hive-hbase-handler2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 60 KB

An optimized version of hive-hbase-handler, currently based on Hive 1.2.1 . (Basically it should work with 0.14 and 1.x)

Java 99.65% Shell 0.35%

hive-hbase-handler2's Introduction

Hive-Hbase-Handler2 (Developing)

  • push down filters
  • remote cluster support (hbase and hive in the different clusters)

1. push down filters

Sargable

Sargable = Search ARGument ABLE

Current sargable operators (1.2.1.0)

=,!=,>,<,>=,<=,between,is_null,rlike

2. remote cluster support

HBase and Hive can be in the different clusters. We call this kind of hive table as a remote table.

The project can only support the remote table as a external table and it will not be managed by the metastore.

As a trick, the project use a convention that a table ending With "_" will be considered as a remote table, due to no table properties can be achieved in HiveMetaHook.

A config in TBLPROPERTIES is added for this feature: "hbase.remote.conf.file"="/local/hdfs/path/to/remote_cluster_hbase-site.xml" , it tells the hive services which hbase it should connect.

Usage

Check the pom.xml if the versions of hadoop/hbase/etc. suit your cluster, modify pom.xml and re-package if you want.

Put the jar under ${HIVE_HOME}/lib/ .

TODO features:

  1. hive complexed datatype optimized support

Remote install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Lhfcws/hive-hbase-handler2/master/install.sh)"

hive-hbase-handler2's People

Contributors

yuanxm avatar lhfcws avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.