Node.js WebHDFS REST API client library implementing Hadoop WebHDFS REST API (2.2.0) with an fs-like asynchronous interface. Current stable version is 1.2.0. The library provides streaming file operations (createReadStream, createWriteStream) and supports user, host, port, and path configuration. It offers a familiar Node.js filesystem API pattern for interacting with Hadoop HDFS via WebHDFS. Release cadence is low; last release was several years ago. Differentiators include simplicity, minimal dependencies, and stream-based operations.
npm install webhdfsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a client and performing streaming read/write operations to HDFS.
Consider using 'hdfs' or 'hdfs-webhdfs' packages for newer alternatives.
Set port to 50070 or your cluster's WebHDFS port.
Always set path to '/webhdfs/v1' or your cluster's webhdfs prefix.
Use createClient instead of new WebHDFS().
Verify WebHDFS is enabled (dfs.webhdfs.enabled=true) and correct host/port.
Provide a valid Hadoop user via the user option.
Use `const { createClient } = require('webhdfs')` or `import { createClient } from 'webhdfs'`.Verify the path exists on HDFS and that the user has permissions.
No dependency data recorded yet.