smolnar82 opened a new pull request, #722: URL: https://github.com/apache/knox/pull/722
## What changes were proposed in this pull request? As described in the corresponding JIRA, Knox should handle the situation when a previously stored CM discovery config file exists, but it's empty. This may prevent the Knox Gateway from starting up. ## How was this patch tested? Added new JUnit test cases to cover this event and ran manual testing: - Stopped the Knox GW in a cluster where I had descriptors with CM service discovery enabled - truncted the `$KNOX_GW_DATA_DIR/cm_clusters/xyz.conf` file - restarted the Knox Gateway Prior to my changes, the Knox GW did not start; After my fix, everything is working as expected. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org