Python通过thrift 操作hbase
2016-03-02 00:00
926 查看
摘要: Python thrift hadoop hbase
一. 环境安装
1. 安装lua
yum -y install readline-devel ncurses-devel
wget -c http://www.lua.org/ftp/lua-5.2.0.tar.gz cd lua-5.2.0
make linux
make install
2. 安装bison http://download.chinaunix.net/download.php?id=44950&ResourceID=913
3. problem
http://stackoverflow.com/questions/20490854/luasocket-c2017-error-lua-h-no-such-file-or-directory
二、安装参考:
http://thrift.apache.org/docs/install/centos
三、python 操作hbase
1. 首先确保hbase的thrift端口9090是否打开
netstat -nl|grep 9090
2. 安装thrift
pip install thrift
3. 安装happybase
pip install hadppybase
http://happybase.readthedocs.org/en/latest/
参考链接
http://shineforever.blog.51cto.com/1429204/1567640/
一. 环境安装
1. 安装lua
yum -y install readline-devel ncurses-devel
wget -c http://www.lua.org/ftp/lua-5.2.0.tar.gz cd lua-5.2.0
make linux
make install
2. 安装bison http://download.chinaunix.net/download.php?id=44950&ResourceID=913
3. problem
http://stackoverflow.com/questions/20490854/luasocket-c2017-error-lua-h-no-such-file-or-directory
二、安装参考:
http://thrift.apache.org/docs/install/centos
三、python 操作hbase
1. 首先确保hbase的thrift端口9090是否打开
netstat -nl|grep 9090
2. 安装thrift
pip install thrift
3. 安装happybase
pip install hadppybase
http://happybase.readthedocs.org/en/latest/
参考链接
http://shineforever.blog.51cto.com/1429204/1567640/
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- 详解HDFS Short Circuit Local Reads
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Hadoop_2.1.0 MapReduce序列图
- 使用Hadoop搭建现代电信企业架构
- Python将excel导入到mysql中
- Facebook's New Real-time Messaging System: HBase to Store 135+ Billion Messages a Month
- Python在CAM软件Genesis2000中的应用