Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 1231199] If Cassandra returns NativeTransportRunning is false, fo…
Browse files Browse the repository at this point in the history
…rce retry policy to try again

(cherry picked from commit 0cde115)
  • Loading branch information
Michael Burman committed Nov 18, 2015
1 parent 51414e9 commit 9c04981
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -933,6 +933,10 @@ boolean verifyNodeIsUp(int jmxPort, int retries, long timeout) throws Exception
Boolean nativeTransportRunning = (Boolean) serverConnection.getAttribute(storageService,
"NativeTransportRunning");

if(!nativeTransportRunning) {
throw new RuntimeException("Storage node reported native transport is not running");
}

return nativeTransportRunning;
} catch (Exception e) {
if (i < retries) {
Expand Down

0 comments on commit 9c04981

Please sign in to comment.