Java org.apache.mahout.common HadoopUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.mahout.common HadoopUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.mahout.common HadoopUtil.

The text is from its open source code.

Method

StringbuildDirList(FileSystem fs, FileStatus fileStatus)
Builds a comma-separated list of input splits
StringbuildDirList(FileSystem fs, FileStatus fileStatus, PathFilter pathFilter)
Builds a comma-separated list of input splits
voidcacheFiles(Path fileToCache, Configuration conf)
longcountRecords(Path path, PathType pt, PathFilter filter, Configuration conf)
Count all the records in a directory using a org.apache.mahout.common.iterator.sequencefile.SequenceFileDirValueIterator
voiddelete(Configuration conf, Iterable paths)
voiddelete(Configuration conf, Path... paths)
Path[]getCachedFiles(Configuration conf)
Retrieves paths to cached files.
StringgetCustomJobName(String className, JobContext job, Class mapper, Class reducer)
PathgetSingleCachedFile(Configuration conf)
Return the first cached file in the list, else null if thre are no cached files.
InputStreamopenStream(Path path, Configuration conf)
JobprepareJob(Path inputPath, Path outputPath, Class inputFormat, Class mapper, Class mapperKey, Class mapperValue, Class outputFormat, Configuration conf)
Create a map-only Hadoop Job out of the passed in parameters.
JobprepareJob(Path inputPath, Path outputPath, Class inputFormat, Class mapper, Class mapperKey, Class mapperValue, Class reducer, Class reducerKey, Class reducerValue, Class outputFormat, Configuration conf)
Create a map and reduce Hadoop job.
intreadInt(Path path, Configuration configuration)
voidsetSerializations(Configuration configuration)
voidwriteInt(int value, Path path, Configuration configuration)