-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
ken farmer edited this page Jun 28, 2016
·
5 revisions
- The runner and web server are intended to run on a Hadoop edge node. However, they should work on nearly any modern Linux distribution, and can also run on Mac OS using Homebrew. This is because all of the Hadoop dependencies are currently in the tests only.
- The runner and tests require Python 2.7
- The existing checks have all been written and testing against Impala 2.1.2. They can be easily modified to run against Hive.
- $ pip install hadoopinspector
- ex: $ mkdir /hapinsp/checks
- Use the checks from hadoopinspector_plugins, and or write your own. But they must be located within the check directory - that you provide to the runner as an argument.
- ex: $ mkdir /hapinsp/logs
- See the wiki page on the registry for more info
hadoopinspector_runner.py --instance [your inst name]
--database [your db name]
--registry-filename /hapinsp/registry.json
--results-filename /hapinsp/results.sqlite
--check-dir /hapinsp/checks
--log-dir /hapinsp/logs
--report >> /hapinsp/logs/run.log
server/hadinsp_httpserver.py