I thought some specific function would be there but I'm using reducebykey now.
Its working fine. Thanks a lot.

*Thanks*,
<https://in.linkedin.com/in/ramkumarcs31>


On Tue, Nov 17, 2015 at 6:21 PM, ayan guha <guha.a...@gmail.com> wrote:

> How about using reducebykey?
> On 17 Nov 2015 22:00, "Ramkumar V" <ramkumar.c...@gmail.com> wrote:
>
>> Hi,
>>
>> I have JavaRDD<String,String>. I would like to do distinct only on key
>> but the normal distinct applies on both key and value. i want to apply only
>> on key. How to do that ?
>>
>> Any help is appreciated.
>>
>> *Thanks*,
>> <https://in.linkedin.com/in/ramkumarcs31>
>>
>>

Reply via email to