That's by design. You can make up the value in 2nd rdd by putting a default
Int value.
On 15 Jun 2015 15:30, "anshu shukla" <[email protected]> wrote:

> How to take union of JavaPairDStream<String, Integer>  and  
> JavaDStream<String> .
>
> *>>>>>a.union(b)  is  working  only with  Dstreams of same type.*
>
>
> --
> Thanks & Regards,
> Anshu Shukla
>

Reply via email to