com.cloudera.crunch.util
Class DistCache

java.lang.Object
  extended by com.cloudera.crunch.util.DistCache

public class DistCache
extends Object

Functions for working with a job-specific distributed cache of objects, like the serialized runtime nodes in a MapReduce.


Constructor Summary
DistCache()
           
 
Method Summary
static Object read(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path path)
           
static void write(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path path, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistCache

public DistCache()
Method Detail

write

public static void write(org.apache.hadoop.conf.Configuration conf,
                         org.apache.hadoop.fs.Path path,
                         Object value)
                  throws IOException
Throws:
IOException

read

public static Object read(org.apache.hadoop.conf.Configuration conf,
                          org.apache.hadoop.fs.Path path)
                   throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.