Skip to main content

Export Redis data to HDFS

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redis2hdfs-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file redis2hdfs-0.0.2.tar.gz.

File metadata

  • Download URL: redis2hdfs-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for redis2hdfs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 caed4ddfb7fbf4aa402f31c3baa4f78a24d42fd744342173be0e4f8d3af33092
MD5 56b8a87cebac1fae7088115013538cdb
BLAKE2b-256 280b8236155afe8cf902aea9d242408c49dfa0d92777fff3b67a70b846154aac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page