snakebite

A pure python HDFS client

Github星跟踪图

Snakebite mini logo

Snakebite is a python library that provides a pure python HDFS client
and a wrapper around Hadoops minicluster. The client uses protobuf for
communicating with the NameNode and comes in the form of a library and a
command line interface. Currently, the snakebite client supports most
actions that involve the Namenode and reading data from DataNodes.

Note: all methods that read data from a data node are able to check
the CRC during transfer, but this is disabled by default because of
performance reasons. This is the opposite behaviour from the stock
Hadoop client.

Snakebite requires python2 (python3 is not supported yet) and
python-protobuf 2.4.1 or higher.

Snakebite 1.3.x has been tested mainly against Cloudera CDH4.1.3 (hadoop
2.0.0) in production. Tests pass on HortonWorks HDP 2.0.3.22-alpha
(protocol versions 7 and 8)

Snakebite 2.x has been tested on Hortonworks HDP2.0 and CDH5 Beta and
ONLY supports Hadoop 2.2.0 and up (protocol version 9)!

Installing

Snakebite releases are available through pypi at
https://pypi.python.org/pypi/snakebite/

To install snakebite run:

pip install snakebite

To install snakebite 2.x with Kerberos/SASL support, make sure you can
install python-krbV (https://fedorahosted.org/python-krbV/) and then
run:

pip install "snakebite[kerberos]"

Since the older version of snakebite (1.3.x) supports Hadoop 1.0 (instead of Hadoop 2), you
might want to install an older version by running:

pip install -I snakebite==1.3.x

Note that the 1.3 branch is unmaintained and doesn't include any of the fixes in the 2.x branch.

Documentation

More information and documentation can be found at https://snakebite.readthedocs.io/en/latest/

Development

Make sure to read about development
here and about
testing over here,
hack and come back with a pull requests <3

Travis CI status: Travis
Join the chat at https://gitter.im/spotify/snakebite

Copyright 2013-2016 Spotify AB

主要指标

概览
名称与所有者spotify/snakebite
主编程语言Python
编程语言Python (语言数: 3)
平台
许可证Apache License 2.0
所有者活动
创建于2013-05-07 09:44:13
推送于2022-04-19 08:38:22
最后一次提交2022-04-19 10:38:22
发布数71
最新版本名称1.3.13 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数857
关注者数128
派生数217
提交数348
已启用问题?
问题数132
打开的问题数58
拉请求数98
打开的拉请求数11
关闭的拉请求数17
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?