org.apache.mahout.common
Class HadoopUtil

java.lang.Object
  extended by org.apache.mahout.common.HadoopUtil

public final class HadoopUtil
extends Object


Method Summary
static long countRecords(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
           
static void delete(org.apache.hadoop.conf.Configuration conf, Iterable<org.apache.hadoop.fs.Path> paths)
           
static void delete(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path... paths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

delete

public static void delete(org.apache.hadoop.conf.Configuration conf,
                          Iterable<org.apache.hadoop.fs.Path> paths)
                   throws IOException
Throws:
IOException

delete

public static void delete(org.apache.hadoop.conf.Configuration conf,
                          org.apache.hadoop.fs.Path... paths)
                   throws IOException
Throws:
IOException

countRecords

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


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.