summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-08-29 15:43:18 +0530
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-08-29 15:43:18 +0530
commit8dfa392ecef5b8a6537223d508e13e43d6ec8c4e (patch)
tree2e2b2b801028711fb1fc754ee9acff9993461247
parent6c1a89c8327dca16128d972ffba873b79f3a7fcc (diff)
Sonar major issues
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41Wk4wGn37JfbyH1F&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java Line No:L70 L141 Change-Id: I44c5813ff366fafeff141346170c575bc352d160 Issue-ID: DMAAP-670 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
-rw-r--r--src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java b/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java
index 805701a..0433912 100644
--- a/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java
+++ b/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java
@@ -67,7 +67,7 @@ public class KafkaLiveLockAvoider2 {
}
} catch (Exception e) {
- //e.printStackTrace();
+
log.error("Error during creation of permanent Znodes under /live-lock-avoid ",e);
}
@@ -138,7 +138,7 @@ public class KafkaLiveLockAvoider2 {
protected void assignNewProcessNode(String appId, Watcher processNodeWatcher ) {
String taskHolderZnodePath = ZNODE_ROOT+ZNODE_UNSTICK_TASKS+"/"+appId;
- //Watcher processNodeWatcher = createWatcher();
+
try {