Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancole committed Jan 9, 2019
1 parent 002afc4 commit 42d10cc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A WebHDFS module for Node.js

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

# About
# WebHDFS

I am currently following and testing against the [WebHDFS REST API documentation](http://hadoop.apache.org/docs/r1.2.1/webhdfs.html) for the `1.2.1` release, by Apache. Make sure you enable WebHDFS in the hdfs site configuration file.

Expand All @@ -13,7 +13,8 @@ I am currently following and testing against the [WebHDFS REST API documentation
I use [Mocha](https://mochajs.org/) and [should.js](https://github.com/visionmedia/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`)

- `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`)

0 comments on commit 42d10cc

Please sign in to comment.