All Projects → mattb → Pig Redis

mattb / Pig Redis

Licence: other
Redis bulk-loader for Apache Pig

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Pig Redis

Pawn Redis
Redis client for the Pawn language
Stars: ✭ 36 (-10%)
Mutual labels:  redis
Gympoint Api
Rest API of a gym management application - built with Express, Postgres, Redis, and Nodemailer.
Stars: ✭ 39 (-2.5%)
Mutual labels:  redis
Freelancers Market
Laravel Project to help freelance websites clients and freelancers to find each other.
Stars: ✭ 39 (-2.5%)
Mutual labels:  redis
Redislabs Docs
Source files for Redis Labs Enterprise documentation
Stars: ✭ 37 (-7.5%)
Mutual labels:  redis
Yii Queue
Queue extension for Yii 3.0
Stars: ✭ 38 (-5%)
Mutual labels:  redis
Docker Redis Cluster
Running a distributed 6-node Redis Cluster with Docker Swarm, Docker Compose, and Supervisor
Stars: ✭ 39 (-2.5%)
Mutual labels:  redis
Redis Go
Go package providing tools for building redis clients, servers and middleware.
Stars: ✭ 34 (-15%)
Mutual labels:  redis
Connection Pool Client
💥 A simple multi-purpose connection pool client (Kafka & Hbase & Redis & RMDB & Socket & Http)
Stars: ✭ 40 (+0%)
Mutual labels:  redis
Spring Boot
spring-boot 项目实践总结
Stars: ✭ 989 (+2372.5%)
Mutual labels:  redis
Nagios Plugins
450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
Stars: ✭ 1,000 (+2400%)
Mutual labels:  redis
Sidekiq Unique Jobs
Ensure uniqueness of your Sidekiq jobs
Stars: ✭ 984 (+2360%)
Mutual labels:  redis
Socket Io
基于Hyperf微服务协程框架开发的sokcet-io分布式系统
Stars: ✭ 38 (-5%)
Mutual labels:  redis
Kuzzle
Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
Stars: ✭ 991 (+2377.5%)
Mutual labels:  redis
Exchange Rates
💱 Querying a rate-limited currency exchange API using Redis as a cache
Stars: ✭ 37 (-7.5%)
Mutual labels:  redis
Articlespider
慕课网python分布式爬虫源码-长期更新维护
Stars: ✭ 40 (+0%)
Mutual labels:  redis
Sncredisbundle
A Redis bundle for Symfony supporting Predis and PhpRedis
Stars: ✭ 980 (+2350%)
Mutual labels:  redis
Reading And Comprehense Twemproxy0.4.1
redis、memcached缓存代理twemproxy源码详细分析注释,带详尽中文注释及函数调用关系。(源码学习交流QQ群:568892619)
Stars: ✭ 39 (-2.5%)
Mutual labels:  redis
Fastonosql
FastoNoSQL is a crossplatform Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, ForestDB, Pika, Dynomite, KeyDB GUI management tool.
Stars: ✭ 1,001 (+2402.5%)
Mutual labels:  redis
Djforge Redis Multitokens
Django Rest Framework Redis MultiTokens
Stars: ✭ 40 (+0%)
Mutual labels:  redis
Carmine
Redis client and message queue for Clojure
Stars: ✭ 999 (+2397.5%)
Mutual labels:  redis

RedisStorer

A UDF StoreFunc for Apache Pig designed to bulk-load data into Redis. Inspired by wonderdog, the Infochimps bulk-loader for elasticsearch.

Compiling and running

Compile:

Dependencies are automatically retrieved using Ivy.

$ ant hadoop

Use:

$ pig
grunt> REGISTER dist/pig-redis.jar;
grunt> a = LOAD 'somefile.tsv' USING PigStorage('\t');
grunt> STORE a INTO 'dummy-filename-is-ignored' USING com.hackdiary.pig.RedisStorer('kv', 'localhost');

Bulkloading strategy

RedisStorer runs in four modes: kv, set, hash and list (specified as the first argument to RedisStorer). If no mode is specified, kv is the default.

In kv mode, it takes the first field of the stored tuple as the key, and the second field as the value, and issues SET key value. Any further fields are ignored.

In set mode, it takes the first field of the stored tuple as the key, and issues SADD key value once for each subsequent field value in the tuple.

In hash mode, it takes the first field of the stored tuple as the key, and issues HSET key fieldname value once for each subsequent field value, using the same key for each, and taking the fieldname from the tuple's schema fieldnames. This means that it will fail unless the stored tuple has a schema with named fields.

In list mode, it takes the first field of the stored tuple as the key, and issues LPUSH key value once for each subsequent field value in the tuple.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].