Akhil, By using broadcast variable Will I be able to change the values of
Broadcast variable?
As per my understanding It will create final variable to access the value
across the cluster.

Please correct me if I'm wrong.

Thanks,

Cheers,
Ravi Sharma

On Wed, Sep 10, 2014 at 7:31 PM, Akhil Das <ak...@sigmoidanalytics.com>
wrote:

> Have a look at Broadcasting variables
> http://spark.apache.org/docs/latest/programming-guide.html#broadcast-variables
>
>
> Thanks
> Best Regards
>
> On Wed, Sep 10, 2014 at 7:25 PM, Ravi Sharma <raviprincesha...@gmail.com>
> wrote:
>
>> Hi Friends,
>>
>> I'm using spark streaming as for kafka consumer. I want to do the CEP by
>> spark. So as for that I need to store my sequence of events. so that I cant
>> detect some pattern.
>>
>> My question is How can I save my events in java collection temporary , So
>> that i can detect pattern by *processed(temporary stored) and upcoming
>> events.*
>>
>>
>> Cheers,
>> Ravi Sharma
>>
>
>

Reply via email to