Registry / other / hadoop-hdfs

hadoop-hdfs

JSON →
library3.5.0javamavenunverified

Apache Hadoop HDFS is a distributed file system designed for storing large datasets across clusters.

<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> <version>3.5.0</version> </dependency>
INSTALL
IMPORT
SIG · HADOOP-HDFS
H
hadoop-hdfs
otherjavav3.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.

FileSystem
org.apache.hadoop.fs.FileSystem

Copy a local file to HDFS.

import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; public class Quickstart { public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); FileSystem fs = FileSystem.get(conf); fs.copyFromLocalFile(new Path("local.txt"), new Path("/hdfs/")); fs.close(); } }
Debug
Known issues
gotchaHadoop HDFS requires a running Hadoop cluster; standalone mode may need additional configuration.
fix
Set up a Hadoop cluster or use a local filesystem for testing.
affects: *
Upgrade
Version history
3.5.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
Resources
hadoop-hdfs — mvn dependency:get hadoop-hdfs · libregistry