Support Questions
Find answers, ask questions, and share your expertise

How to make map task of Hadoop to write only KEY in wordcount program? Especially I dont want map task to write any separator between key and value

Explorer

How to make map task of Hadoop to write only KEY in wordcount program? Especially I dont want map task to write any separator between KEY and VALUE. I know how to make VALUE null using NULLWRITABLE. But I would like to that how to make map task not to write any separator. Every separator occupies 1 byte of memory. I want to save memory. Thats why i dont want to write any separator.

Thanks in advance for your replies.

0 REPLIES 0