Coder Social home page Coder Social logo

gurditsingh / cascading-hive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cascading/cascading-hive

0.0 2.0 0.0 405 KB

Integration for Cascading and Apache Hive

Home Page: http://docs.cascading.org/cascading-hive/2.0/

CSS 9.95% HTML 1.79% Java 88.26%

cascading-hive's Introduction

cascading-hive

Cascading-Hive is an integration between Apache Hive and Cascading. It currently has the following major features:

  • running Hive queries within a Cascade
  • reading from Hive tables within a Cascading Flow (including transactional tables)
  • writing/creating Hive tables from a Cascading Flow
  • writing/creating partitioned Hive tables from a Cascading Flow
  • deconstructing a Hive view into Taps
  • reading/writing taps from HCatalog

The demo sub-directory contains applications that demonstrate those features.

The code will pick up the configuration for a remote Hive MetaStore automatically, as long as it is present in your hive or hadoop configuration files.

Hive dependency

Cascading-Hive works Hive 1.x, 2.x is not yet supported. When using the cascading-hive in your project you have to specify the version of Hive you are using as a runtime dependency yourself. This is done to avoid classpath issues with the various Hadoop and Hive distributions in existence. See the demo project for an example.

Installing

To install cascading-hive into your local maven repository do this:

> gradle install

Maven, Ivy, Gradle

Cascading-Hive is also available on http://conjars.org.

Limitations

Please note that the support for Hive views is currently limited since views pretend to be a resource or a Tap in Cascading terms, but are actually computation. It is currently not possible to read from a Hive View within a Cascading Flow. To work around this, you can create a table in Hive instead, and read from that within your Cascading Flow. This restriction might change in the future.

Also note that it is not yet possible to write to transactional tables and that the HiveTap will prevent any attempt to do so.

Finally note that Hive relies on the hadoop command being present in your PATH when it executes the queries on the Hadoop cluster.

cascading-hive's People

Contributors

ddcprg avatar fs111 avatar stephanh avatar supreetoberoi avatar teabot avatar

Watchers

 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.