Verification scripts basically to run smoke test against any Hadoop component using shell script.
This repository contains unix shell scripts. Each script as individual components smoke testing script with driving script name "verification_script.sh". Configuration file name is config.txt
These scripts are tested on HDP Sanbox 2.4.2 and HDP cluster 2.4.
**Contributions are welcome! ** If you have anything to add or improve, please don't hesitate to send pull requests.
License
The contents of this repository are licensed under the Xavient Information System. For more such tools & interesting content please visit https://techblog.xavient.com/
How it works?
- Copy bundled scripts to one of Hadoop cluster node and unzip it.
- Modify config.txt for required parameters to test. By default its Null which means no components test.
- Change/Assign executable permission to all the shell scripts.
- Run verification_script.sh.
- Check output asin summary output in the file output.txt whiled details(detailed) output in out.txt.
How to use?
- Hadoop verification scripts can run directly on any node where hadoop components are installed.
- Check config.txt file for required componets to be tested.
- Once permissions i.e. "chmod 777 *.sh" set run "./verification_script.sh 2> out.txt"
- Verify summary result of verification scripts in output.txt.
- Verify detail output in case of any error in out.txt.
How to contribute?
- Fork this repository
- git clone it
- Create a branch you'll work on
- To use/test the step just follow the "How to use" section
- Do the changes you want to
- Run/test the your steps before sending your contribution
- Once you're done just commit your changes & create a Pull Request