Registry / testing / hadoop-minicluster

hadoop-minicluster

JSON →
library3.5.0javamavenunverified

Apache Hadoop Mini-Cluster provides a lightweight in-process Hadoop cluster for testing.

<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minicluster</artifactId> <version>3.5.0</version> </dependency>
INSTALL
IMPORT
SIG · HADOOP-MINICLUSTER
H
hadoop-minicluster
testingjavav3.5.0
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.

MiniDFSCluster
org.apache.hadoop.hdfs.MiniDFSCluster

Shows how to start and stop a MiniDFSCluster.

import org.apache.hadoop.hdfs.MiniDFSCluster; import org.apache.hadoop.conf.Configuration; public class Example { public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).build(); System.out.println("Cluster started: " + cluster.getFileSystem().getUri()); cluster.shutdown(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.5.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
hadoop-minicluster — mvn dependency:get hadoop-minicluster · libregistry