Sanity Check
To perform a sanity check on a successful upgrade, run the following bash script:
Info
This script recursively verifies the symlinks for service components located under . It also resolves and checks if the services in the current directory under /etc/<service_name> correctly point to /usr/odp/current/service_name./etc/<service>/<stack_version>/0
Modify the ODP Upgrade Validation .sh file.
How to use the script?
Save the given bash template and pass in the service name as command line arguments:
./<script_name>.sh <service1> <service2>..
The below code is a sample Execution Command (saved as test.sh)
./test.sh hadoop zookeeper hive hbase oozie spark2 test_check
Sample Result

Have a suggestion?