Uroš Bojanić created SPARK-58712:
------------------------------------
Summary: Fix incorrect usage strings in four examples
Key: SPARK-58712
URL: https://issues.apache.org/jira/browse/SPARK-58712
Project: Spark
Issue Type: Bug
Components: Examples
Affects Versions: 4.3.0
Reporter: Uroš Bojanić
Four usage strings disagree with the code around them.
DirectKafkaWordCount and DirectKerberizedKafkaWordCount document "<brokers>
<topics>" in the class comment, but both require three arguments: the arity
check is args.length < 3, the arguments are destructured as brokers, groupId
and topics, the runtime usage message already prints the three argument form,
and the comment itself documents <groupId> on the following line. SPARK-27973
corrected the runtime message for the first example but left the comment behind.
SkewedGroupByTest documents "Usage: GroupByTest", naming a different example
that also exists, so copying the line runs the wrong job.
JavaRecoverableNetworkWordCount prints "You arguments were"; its Scala
counterpart already reads "Your arguments were".
Comment and message text only.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]