public void setConnectionTimeout(int timeoutSeconds) {
    connectionTimeout = (timeoutSeconds < 1) ? 1 : timeoutSeconds;
  }
Set the connection timeout.
This is the amount of time that we will attempt to read data from connection.

@param timeoutSeconds timeout in seconds
ambari-server/src/main/java/org/apache/ambari/server/KdcServerConnectionVerification.java