aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/src
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics-cdap-plugins/src')
-rw-r--r--dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/streaming/dmaap/DMaaPMRReceiver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/streaming/dmaap/DMaaPMRReceiver.java b/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/streaming/dmaap/DMaaPMRReceiver.java
index 593d5d1..1c291af 100644
--- a/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/streaming/dmaap/DMaaPMRReceiver.java
+++ b/dcae-analytics-cdap-plugins/src/main/java/org/onap/dcae/apod/analytics/cdap/plugins/streaming/dmaap/DMaaPMRReceiver.java
@@ -79,6 +79,7 @@ public class DMaaPMRReceiver extends Receiver<StructuredRecord> {
} catch (InterruptedException e) {
final String errorMessage = String.format(
"Interrupted Exception while DMaaP MR Receiver sleeping polling interval: %s", e);
+ Thread.currentThread().interrupt();
throw new DCAEAnalyticsRuntimeException(errorMessage, LOG, e);
}
}