This project has retired. For details please refer to its
Attic page.
SourceTargetHelper (Apache Crunch 0.7.0 API)
org.apache.crunch.io
Class SourceTargetHelper
java.lang.Object
org.apache.crunch.io.SourceTargetHelper
public class SourceTargetHelper
- extends Object
Functions for configuring the inputs/outputs of MapReduce jobs.
Method Summary |
static long |
getLastModifiedAt(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
|
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)
|
SourceTargetHelper
public SourceTargetHelper()
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
getLastModifiedAt
public static long getLastModifiedAt(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.