GitHub user lw-lin opened a pull request:
https://github.com/apache/spark/pull/15681
[Minor][Streaming][Kafka] Kafka010 .createRDD() scala API should expect
scala Map
## What changes were proposed in this pull request?
Thoughout `external/kafka-010`, Java APIs are expecting `java.lang.Map`s
and Scala APIs are expecting `scala.collection.Map`s, with the exception of
`KafkaUtils.createRDD()` Scala API expecting a `java.lang.Map`.
This patch has fixed it.
This patch has also fixed several minor java doc issues of the
`external/kafka-010` module since the fixes were pretty straight forward.
## How was this patch tested?
Existing test cases.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lw-lin/spark kafka-010-map-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15681.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15681
----
commit 7fb71efbee6dae445ed238422a0555c9818ca958
Author: Liwei Lin <[email protected]>
Date: 2016-10-28T02:42:07Z
Use Scala Map for Scala API
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]