public class CrunchTestSupport extends Object
Modifier and Type | Field and Description |
---|---|
TemporaryPath |
tempDir |
Constructor and Description |
---|
CrunchTestSupport() |
Modifier and Type | Method and Description |
---|---|
static <KI,VI,KO,VO> |
getTestContext(org.apache.hadoop.conf.Configuration config)
The method creates a TaskInputOutputContext which can be used
in unit tests.
|
public TemporaryPath tempDir
public static <KI,VI,KO,VO> org.apache.hadoop.mapreduce.TaskInputOutputContext<KI,VI,KO,VO> getTestContext(org.apache.hadoop.conf.Configuration config)
Copyright © 2016 The Apache Software Foundation. All rights reserved.