Map Reduce Monitor Web Application. Implemented with Node.js and AngularJS.
config.js has application configuration.
Minimum required configuration:
Hadoop ResourceManager
Haddop History Server
WebSocket URL (DataTorrent Gateway address)
The following should be running:
DataTorrent Gateway
It may take 10+ seconds to see data on the first load (Map Reduce Java application starts polling Hadoop REST API and then publishes it through DataTorrent Gateway WebSocket).
Install dependencies:
$ npm install
Install Bower dependencies:
$ bower install
Start Node.js server:
$ node app
Application will be available at http://localhost:3000
Application is built with Grunt (it creates dist folder with optimized JavaScript/CSS).
$ npm install -g grunt-cli $ grunt
In this mode resources are served from dist folder.
Install Node.js.
Install npm dependencies
$ npm install
$ npm install -g forever
$ NODE_ENV=production PORT=3000 forever start app.js
Running Node.js as a daemon with forever
$ npm install forever -g $ forever start app.js $ forever list $ forever stop <uid>
Running Node.js on different port
$ PORT=3001 node app
Node.js Software platform built on JavaScript runtime
Express Node.js web framework
forever Node.js daemon/continuous running/fault tolerance
AngularJS JavaScript framework
Bower Package manager for the web
Grunt JavaScript Task Runner
Yeoman Webapp generator
Google Charts Charts by Google
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.