Files
This branch is 6201 commits behind twitter/finagle:develop.
finagle-memcached-hadoop
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
This package provides a MemcachedOutputFormat for use with Hadoop. This outputformat can be configured like any other output format, plus one additional step: MemcachedOutputFormat.setFactory(job.getConfiguration(), factory); Factory can be any class that implements com.twitter.finagle.memcached.SerializableKeyValueClientFactory. There are two reference factories: SimpleMemcachedClientFactory, and PooledMemcachedClientFactory. Scala constructors are: new SimpleMemcachedClientFactory(hosts: Seq[String], port: Int) new PooledMemcachedClient(clients: Seq[SerializableKeyValueClientFactory]) Java constructors are: new SimpleMemcachedClientFactory(List<String> hosts, int port) new PooledMemcachedClient(List[SerializableKeyValueClientFactory] clients)