Example usage for org.apache.hadoop.conf Configured subclass-usage

List of usage examples for org.apache.hadoop.conf Configured subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.conf Configured subclass-usage.

Usage

From source file com.cloudera.crunch.tool.CrunchTool.java

/**
 * An extension of the {@code Tool} interface that creates a {@code Pipeline}
 * instance and provides methods for working with the Pipeline from inside of
 * the Tool's run method.
 *
 */

From source file com.cloudera.crunch.type.avro.SafeAvroSerialization.java

/** The {@link Serialization} used by jobs configured with {@link AvroJob}. */
public class SafeAvroSerialization<T> extends Configured implements Serialization<AvroWrapper<T>> {

    public boolean accept(Class<?> c) {
        return AvroWrapper.class.isAssignableFrom(c);
    }

From source file com.cloudera.exhibit.etl.ExhibitTool.java

public class ExhibitTool extends Configured implements Tool {
    @Override
    public int run(String[] args) throws Exception {
        if (args.length != 2) {
            System.err.println("Usage: (build|compute|parse) <config.yml>");
            return -1;

From source file com.cloudera.fts.App.java

/**
 * The main program which invokes the pipelines
 */
public class App extends Configured implements Tool {

    private App() {

From source file com.cloudera.hadoop.hdfs.nfs.nfs4.FileHandleStore.java

public abstract class FileHandleStore extends Configured {

    public static FileHandleStore get(Configuration conf) {
        FileHandleStore fileHandleStore;
        fileHandleStore = ReflectionUtils
                .newInstance(conf.getClass(NFS_FILEHANDLE_STORE_CLASS, WritableFileFileHandleStore.class)

From source file com.cloudera.hadoop.hdfs.nfs.nfs4.NFS4Server.java

/**
 * Class used to start the NFS Server. Uses NFS4Handler
 * and RPCServer to start the server and then blocks
 * until the RPCServer has died. Implements Configured
 * so it can be configured from the command line.
 */

From source file com.cloudera.hbase.WordCount.java

/**
 * See {@link org.apache.hadoop.examples.WordCount}.
 * 
 * Version for org.apache.hadoop.mapreduce.* API.
 */
public class WordCount extends Configured implements Tool {

From source file com.cloudera.kitten.appmaster.ApplicationMaster.java

/**
 * A simple ApplicationMaster to use when there isn't any master logic that is requried to run.
 */
public class ApplicationMaster extends Configured implements Tool {

    @Override

From source file com.cloudera.kitten.appmaster.util.HDFSFileFinder.java

public class HDFSFileFinder extends Configured implements Tool {

    private static Log LOG = LogFactory.getLog(HDFSFileFinder.class);

    public Map<String, Long> getNumBytesOfGlobHeldByDatanodes(Path p) throws IOException {
        return getNumBytesOfGlobHeldByDatanodes(p, getConf());

From source file com.cloudera.kitten.client.KittenClient.java

/**
 * A simple client for cases where there does not need to be any client-side logic to run a job.
 */
public class KittenClient extends Configured implements Tool {

    private static final Log LOG = LogFactory.getLog(KittenClient.class);