Source:
<code>public DataPurgerService(ConduitConfig conduitConfig, Cluster cluster, HCatClientUtil hcatUtil) throws Exception { super(DataPurgerService.class.getName(), conduitConfig, 60000 * 60, null, new HashSet<String>(), hcatUtil); this.cluster = cluster; fs = FileSystem.get(cluster.getHadoopConf()); this.defaulttrashPathRetentioninHours = new Integer( Integer.parseInt(conduitConfig .getDefaults().get(ConduitConfigParser.TRASH_RETENTION_IN_HOURS))); this.defaultstreamPathRetentioninHours = new Integer( Integer.parseInt(conduitConfig.getDefaults().get( ConduitConfigParser.RETENTION_IN_HOURS))); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), PURGEPATHS_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), DELETE_FAILURES_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), RUNTIME, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), FAILURES, getName()); if (Conduit.isHCatEnabled()) { Map<String, DestinationStream> destMap = cluster.getDestinationStreams(); for (Map.Entry<String, DestinationStream> entry : destMap.entrySet()) { streamHCatEnabledMap.put(entry.getKey(), entry.getValue().isHCatEnabled()); } Map<String, SourceStream> sourceStreams = config.getSourceStreams(); for (Map.Entry<String, SourceStream> entry : sourceStreams.entrySet()) { <START> streamHCatEnabledMap.put(entry.getKey(), entry.getValue().isHCatEnabled()); <END> } } }</code><technical_language>this removed this info is in abstract service</technical_language>

Target:
public DataPurgerService(ConduitConfig conduitConfig, Cluster cluster, HCatClientUtil hcatUtil) throws Exception { super(DataPurgerService.class.getName(), conduitConfig, 60000 * 60, null, new HashSet<String>(), hcatUtil); this.cluster = cluster; fs = FileSystem.get(cluster.getHadoopConf()); this.defaulttrashPathRetentioninHours = new Integer( Integer.parseInt(conduitConfig .getDefaults().get(ConduitConfigParser.TRASH_RETENTION_IN_HOURS))); this.defaultstreamPathRetentioninHours = new Integer( Integer.parseInt(conduitConfig.getDefaults().get( ConduitConfigParser.RETENTION_IN_HOURS))); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), PURGEPATHS_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), DELETE_FAILURES_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), RUNTIME, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), FAILURES, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), HCAT_PURGE_PARTITION_FAILURES_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), HCAT_CONNECTION_FAILURES, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), HCAT_PURGED_PARTITION_COUNT, getName()); ConduitMetrics.registerSlidingWindowGauge(getServiceType(), FAILED_TO_GET_HCAT_CLIENT_COUNT, getName()); if (Conduit.isHCatEnabled()) { Map<String, DestinationStream> destMap = cluster.getDestinationStreams(); for (Map.Entry<String, DestinationStream> entry : destMap.entrySet()) { streamHcatEnableMap.put(entry.getKey(), entry.getValue().isHCatEnabled()); } Map<String, SourceStream> sourceStreams = config.getSourceStreams(); for (Map.Entry<String, SourceStream> entry : sourceStreams.entrySet()) { streamHcatEnableMap.put(entry.getKey(), entry.getValue().isHCatEnabled()); } } }