Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
The Trident Kafka examples in the modules storm-kafka-examples and storm-kafka-client-examples use DRPC to print the results of DRPC computation. In local mode the results output is printed as illustrated in the screenshot attached.
For the DRPC results to be printable when running in distributed mode,it is necessary to connect a DRPC client to retrieve the results. There was no DRPC client running in remote mode prior to this change, hence nothing was getting printed in distributed mode. This fact mislead users into believing that the examples were not working properly in remote mode.
This JIRA addresses the issue by printing the DRPC results in the log files. Thus, it allows users to query the results and investigate their validity. Furthermore, it serves as a good example on how to print results of DRPC computation in local and distributed mode.