You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)