Re: [Spark streaming] No assigned partition error during seek

2017-11-30 Thread venkat
I notice that *'Do not* manually add dependencies on org.apache.kafka artifacts (e.g. kafka-clients). The spark-streaming-kafka-0-10 artifact has the appropriate transitive dependencies already, and different versions may be incompatible in hard to diagnose way' after your query. Does this imply t

Re: [Spark streaming] No assigned partition error during seek

2017-11-30 Thread venkat
Yes I use latest Kafka clients 0.11 to determine beginning offsets without seek and also I use Kafka offsets commits externally. I dont find the spark async commit useful for our needs. Thanks Venkat On Fri, 1 Dec 2017 at 02:39 Cody Koeninger wrote: > You mentioned 0.11 version; the latest ver

Re: Kafka version support

2017-11-30 Thread Michael Armbrust
Oh good question. I was saying that the stock structured streaming connector should be able to talk to 0.11 or 1.0 brokers. On Thu, Nov 30, 2017 at 1:12 PM, Cody Koeninger wrote: > Are you talking about the broker version, or the kafka-clients artifact > version? > > On Thu, Nov 30, 2017 at 12:

Re: Kafka version support

2017-11-30 Thread Cody Koeninger
Are you talking about the broker version, or the kafka-clients artifact version? On Thu, Nov 30, 2017 at 12:17 AM, Raghavendra Pandey wrote: > Just wondering if anyone has tried spark structured streaming kafka > connector (2.2) with Kafka 0.11 or Kafka 1.0 version > > Thanks > Raghav --

Re: [Spark streaming] No assigned partition error during seek

2017-11-30 Thread Cody Koeninger
You mentioned 0.11 version; the latest version of org.apache.kafka kafka-clients artifact supported by DStreams is 0.10.0.1, for which it has an appropriate dependency. Are you manually depending on a different version of the kafka-clients artifact? On Fri, Nov 24, 2017 at 7:39 PM, venks61176 wr

Re: Kafka version support

2017-11-30 Thread Michael Armbrust
I would expect that to work. On Wed, Nov 29, 2017 at 10:17 PM, Raghavendra Pandey < raghavendra.pan...@gmail.com> wrote: > Just wondering if anyone has tried spark structured streaming kafka > connector (2.2) with Kafka 0.11 or Kafka 1.0 version > > Thanks > Raghav >

[Spark ML] : Implement the Conjugate Gradient method for ALS

2017-11-30 Thread Nate Wendt
The conjugate gradient method has been shown to be very efficient at solving the least squares error problem in matrix factorization: http://www.benfrederickson.com/fast-implicit-matrix-factorization/. This post is motivated by: https://pdfs.semanticscholar.org/bfdf/7af6cf7fd7bb5e6b6db5bbd91be1159