* @return Groom server added.
*/
public static ClusterUtil.GroomServerThread createGroomServerThread(
final Configuration c, final Class<? extends GroomServer> hrsc,
final int index) throws IOException {
GroomServer server;
try {
server = hrsc.getConstructor(Configuration.class).newInstance(c);
} catch (Exception e) {
IOException ioe = new IOException();
ioe.initCause(e);