Pull request Compare This branch is 2725 commits behind twitter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
README
pom.xml

README

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)