diff options
author | sunil unnava <sunil.unnava@att.com> | 2019-02-07 16:21:13 -0500 |
---|---|---|
committer | sunil unnava <sunil.unnava@att.com> | 2019-02-07 16:22:39 -0500 |
commit | edb57cc44d6e84f8e83205c792a6484882343b8e (patch) | |
tree | da2ae18b61a2f8b50e0562cee715cf20b24bb569 | |
parent | 2fb7a686abae1fcdd8ae06c8abeb759c2bcfd069 (diff) |
update the shell script
Issue-ID: DMAAP-911
Change-Id: I9cbcd3534673e4a8a2a29cb56a18e1d05c140db6
Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java index 114d1f8..9b5f863 100644 --- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java +++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java @@ -171,8 +171,8 @@ public class MirrorMakerProcessHandler { String args[] = { "/bin/sh", "-c", kafkaHome + "/bin/kafka-run-class.sh -Dagentname=" + agentName + " kafka.tools.MirrorMaker --consumer.config " + consumerConfig - + " --producer.config " + producerConfig + " --num.streams " + numStreams + " --abort.on.send.failure true" + " --whitelist '" + whitelist + "' 2>&1 >" - + mmagenthome + "/logs/" + agentName + "_MMaker.log " }; + + " --producer.config " + producerConfig + " --num.streams " + numStreams + " --abort.on.send.failure true" + " --whitelist '" + whitelist + "' >" + + mmagenthome + "/logs/" + agentName + "_MMaker.log 2>&1" }; final Process process = rt.exec(args); new Thread() { public void run() { |