storm
storm copied to clipboard
[STORM-3639] Replace asserts in daemon code.
What is the purpose of the change
By default jvm disables assertion for performance, and we allow JVM options to be configured at deployment time, it is best to avoid use of assert statement and use explicit clauses to validate critical checks within storm-daemon code. Also, it would be helpful in many cases to explicitly log and proceed on failure to meet such assert expectation for debugging purpose.
How was the change tested
Rerun test suite in storm-server directory.