Example usage for org.apache.hadoop.mapred HadoopTestCase subclass-usage

List of usage examples for org.apache.hadoop.mapred HadoopTestCase subclass-usage

Introduction

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

Usage

From source file com.alexholmes.hadooputils.test.HadoopTestCaseFixer.java

/**
 * Extends Hadoop's built-in {@link HadoopTestCase} to make it work outside
 * of Hadoop's build environment.
 */
public abstract class HadoopTestCaseFixer extends HadoopTestCase {

From source file com.hdfs.concat.clean.TestClean.java

public class TestClean extends HadoopTestCase {

    private static final Path ROOT_DIR = new Path("testing");

    public TestClean() throws IOException {
        super(HadoopTestCase.LOCAL_MR, HadoopTestCase.LOCAL_FS, 1, 1);

From source file com.hdfs.concat.crush.integration.CrushMapReduceTest.java

/**
 * Mention the junit runner explicitly since this test inherits from the junit 3 base class and since the junit 3 runner does not
 * have all the extra goodies, like support for {@link Rule}.
 */
@RunWith(JUnit4.class)
@SuppressWarnings("deprecation")

From source file com.hive_unit.HiveTestBase.java

public abstract class HiveTestBase extends HadoopTestCase {

    protected final static Logger LOGGER = Logger.getLogger(HiveTestBase.class.getName());
    protected static final Path ROOT_DIR = new Path("testing");
    protected List<File> toCleanUp = new ArrayList<File>();

From source file com.jointhegrid.hive_test.HiveTestBase.java

public abstract class HiveTestBase extends HadoopTestCase {

    protected static final Path ROOT_DIR = new Path("testing");

    public HiveTestBase() throws IOException {
        super(HadoopTestCase.LOCAL_MR, HadoopTestCase.LOCAL_FS, 1, 1);

From source file com.liveramp.hank.hadoop.TestHadoopDomainBuilder.java

public class TestHadoopDomainBuilder extends HadoopTestCase {

    private final String DOMAIN_A_NAME = "a";
    private final String INPUT_PATH_A = INPUT_DIR + "/" + DOMAIN_A_NAME;
    private final String OUTPUT_PATH_A = OUTPUT_DIR + "/" + DOMAIN_A_NAME;
    private final String DOMAIN_B_NAME = "b";

From source file com.m6d.filecrush.clean.TestClean.java

public class TestClean extends HadoopTestCase {

    private static final Path ROOT_DIR = new Path("testing");

    public TestClean() throws IOException {
        super(HadoopTestCase.LOCAL_MR, HadoopTestCase.LOCAL_FS, 1, 1);

From source file com.m6d.filecrush.crush.integration.CrushMapReduceTest.java

/**
 * Mention the junit runner explicitly since this test inherits from the junit 3 base class and since the junit 3 runner does not
 * have all the extra goodies, like support for {@link Rule}.
 */
@RunWith(JUnit4.class)
@SuppressWarnings("deprecation")

From source file com.rapleaf.hank.hadoop.TestHadoopDomainBuilder.java

public class TestHadoopDomainBuilder extends HadoopTestCase {

    private final String DOMAIN_A_NAME = "a";
    private final String INPUT_PATH_A = INPUT_DIR + "/" + DOMAIN_A_NAME;
    private final String OUTPUT_PATH_A = OUTPUT_DIR + "/" + DOMAIN_A_NAME;
    private final String DOMAIN_B_NAME = "b";

From source file io.teknek.hiveunit.HiveTestBase.java

public abstract class HiveTestBase extends HadoopTestCase {

    protected final static Logger LOGGER = Logger.getLogger(HiveTestBase.class.getName());
    protected static final Path ROOT_DIR = new Path("testing");
    protected List<File> toCleanUp = new ArrayList<File>();