SAMZA-1304: Handling duplicate stream processor registration.
authorShanthoosh Venkataraman <svenkataraman@linkedin.com>
Thu, 13 Jul 2017 23:19:56 +0000 (16:19 -0700)
committernavina <navina@apache.org>
Thu, 13 Jul 2017 23:19:56 +0000 (16:19 -0700)
commit45931fd5d4406f731013b39d10fbfd577d6ac6a4
tree27b5a2199ce7e76719911800d6d0038eda7c4713
parentebb1b7fea2518e827e589fe8523089322c68c9bf
SAMZA-1304: Handling duplicate stream processor registration.

When a stream processor registers with same processorId as already existing
processor in processor group, it's registration should fail.

Author: Shanthoosh Venkataraman <svenkataraman@linkedin.com>

Reviewers: Navina Ramesh <navina@apache.org>, Jagadish V <jvenkatr@linkedin.com>

Closes #240 from shanthoosh/standalone_duplicate_processor_fix
samza-core/src/main/java/org/apache/samza/zk/ProcessorData.java
samza-core/src/main/java/org/apache/samza/zk/ZkJobCoordinator.java
samza-core/src/main/java/org/apache/samza/zk/ZkUtils.java
samza-core/src/test/java/org/apache/samza/zk/TestZkUtils.java
samza-test/src/test/java/org/apache/samza/test/processor/TestZkLocalApplicationRunner.java