public class HadoopPolicyProvider extends PolicyProvider {
@Override
public Service[] getServices() {
Service[] hdfsServices = new HDFSPolicyProvider().getServices();
Service[] mrServices = new MapReducePolicyProvider().getServices();
Service[] hadoopServices =
new Service[hdfsServices.length + mrServices.length];
System.arraycopy(hdfsServices, 0, hadoopServices, 0, hdfsServices.length);
System.arraycopy(mrServices, 0, hadoopServices, hdfsServices.length,