Registry / testing / hadoop-test

hadoop-test

JSON →
library1.2.1javamavenunverified

Hadoop Test provides testing utilities and frameworks for Apache Hadoop, including MRUnit for unit testing MapReduce jobs.

<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-test</artifactId> <version>1.2.1</version> </dependency>
INSTALL
IMPORT
SIG · HADOOP-TEST
H
hadoop-test
testingjavav1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MiniMRCluster
org.apache.hadoop.mapred.MiniMRCluster

Minimal example creating a MiniMRCluster for testing MapReduce.

import org.apache.hadoop.mapred.MiniMRCluster; public class Example { public static void main(String[] args) throws Exception { MiniMRCluster mrCluster = new MiniMRCluster(1, "file:///tmp", 1); System.out.println("MiniMRCluster created."); mrCluster.shutdown(); } }
Debug
Known issues
breakinghadoop-test is deprecated in favor of hadoop-minicluster and other modules.
fix
Use hadoop-minicluster (org.apache.hadoop:hadoop-minicluster) for testing.
affects: >=1.0.0
Upgrade
Version history
1.2.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hadoop-test — mvn dependency:get hadoop-test · libregistry