项目作者: riandrea

项目描述 :
Flask web framework boilerplate to access Apache Hive
高级语言: CSS
项目地址: git://github.com/riandrea/flask-hive.git
创建时间: 2017-03-25T09:05:38Z
项目社区:https://github.com/riandrea/flask-hive

开源协议:

下载


Flask Hive boilerplate

Flask web framework boilerplate to access Apache Hive using Cloudera’s Impyla, a python DB API 2.0 client for Impala and Hive (HiveServer2 protocol).

Twitter bootstrap and echarts js included

Prerequisites

Install flask

pip install flask

Install impyla

pip install impyla

Install thrift_sasl

pip install thrift_sasl

Install sasl

pip install sasl

Install thrift version 0.9.3, will not run on version 0.10.0

pip install thrift==0.9.3

CONSIDERATIONS

Please take note that I don’t recommend using this to query large data sets in real time, as it will be super slow(this is by design,
Hive isn’t intended for real time usage) depends on the size of the data.

My intended usage is only to access summary tables in hive
which consist of results of data that are already been processed and ready to show on the dashboard.