Github user ScrapCodes commented on a diff in the pull request: https://github.com/apache/spark/pull/552#discussion_r12320627 --- Diff: examples/src/main/scala/org/apache/spark/examples/BroadcastTest.scala --- @@ -27,18 +27,18 @@ object BroadcastTest { System.exit(1) } - val bcName = if (args.length > 3) args(3) else "Http" - val blockSize = if (args.length > 4) args(4) else "4096" + val bcName = if (args.length > 2) args(2) else "Http" --- End diff -- Yes, and then all arguments will be optional. So may be args.length check can be completely removed.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---