redis2hdfs
redis2hdfs is a command line tool to help you export Redis data to HDFS.
NOTE: ensure WebHDFS is enabled.
Installation
$ pip install redis2hdfs
Usage
$ redis2hdfs --redis-key myzset --namenode-host namenode.example.com --hdfs-username hdfs --hdfs-path /tmp/myzset.lzo --compress-format lzo
redis2hdfs could compress file before copy to HDFS, through --compress-format option. Currently supported compress formats are: LZO.
If you want to use LZO format, you need install lzop first.
Development
$ mkvirtualenv redis2hdfs $ python setup.py develop
Metadata
Release files for redis2hdfs 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redis2hdfs-0.0.2.tar.gz | 2.9 kB | Details |
Release files / redis2hdfs-0.0.2.tar.gz
| Download URL | redis2hdfs-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caed4ddfb7fbf4aa402f31c3baa4f78a24d42fd744342173be0e4f8d3af33092
|
|
BLAKE2b-256 checksum How to use checksums |
280b8236155afe8cf902aea9d242408c49dfa0d92777fff3b67a70b846154aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |