// Hadoop configuration.
myCfg.setHadoopConfiguration(cfg.getHadoopConfiguration());
// Validate segmentation configuration.
GridSegmentationPolicy segPlc = cfg.getSegmentationPolicy();
if (segPlc == RECONNECT) {
U.warn(log, "RECONNECT segmentation policy is not supported anymore and " +
"will be removed in the next major release (will automatically switch to NOOP)");