Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-webhdfs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-webhdfs

A WebHDFS module for Node.js.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by217.05%
Maintainers
1
Weekly downloads
 
Created
Source

A WebHDFS module for Node.js

Notice

I no longer use HDFS and have no plans to continue development on this module. With that said, many of the more recent patches to this module have not been from myself, and instead have been through open-source contributions. If you would like me to add you as a maintainer of this repository then just open a pull request or somehow message me and I will add you.

WebHDFS

I am currently following and testing against the WebHDFS REST API documentation for the 1.2.1 release, by Apache. Make sure you enable WebHDFS in the hdfs site configuration file.

Tests

I use Mocha and should.js for unit testing. They will be required if you want to run the unit tests. To execute the tests, simply npm test, but install the requirements first.

The following environment variables are used to configure the tests:

  • HDFS_USERNAME -- your username on the HDFS cluster (default: ryan)
  • HDFS_NAMENODE_1 -- hostname of your primary namenode (default: localhost)
  • HDFS_NAMENODE_2 -- hostname of your secondary namenode (default: localhost)
  • HDFS_BASE_PATH -- directory in which to conduct tests (default: /user/$HDFS_USERNAME)

Keywords

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc