Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1710#discussion_r80801551
--- Diff:
storm-core/src/jvm/org/apache/storm/cluster/PaceMakerStateStorage.java ---
@@ -159,10 +162,6 @@ public void set_worker_hb(String path, byte[] data,
List<ACL> acls) {
ret = details;
}
}
- if(ret == null) {
- throw new HBExecutionException("Failed to get a
response.");
- }
- LOG.debug("Successful get_worker_hb");
return ret;
--- End diff --
I think that is best, if all of them return something invalid or we get
nothing back at all then we throw.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---