com.cloudera.crunch.io
Class SourceTargetHelper

java.lang.Object
  extended by com.cloudera.crunch.io.SourceTargetHelper

public class SourceTargetHelper
extends Object

Functions for configuring the inputs/outputs of MapReduce jobs.


Constructor Summary
SourceTargetHelper()
           
 
Method Summary
static long getPathSize(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path path)
           
static long getPathSize(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceTargetHelper

public SourceTargetHelper()
Method Detail

getPathSize

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

getPathSize

public static long getPathSize(org.apache.hadoop.fs.FileSystem fs,
                               org.apache.hadoop.fs.Path path)
                        throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.