FAQ
You can always pass them as comma delimited strings, which is what you are
already doing with your python streaming code, and then use Text as your
value.

On Mon, Oct 5, 2009 at 10:54 PM, akshaya iyengar
wrote:
I am having issues having multiple values in my value field.My desired
result is
<key>,<float,int> or even <key>,<float,float>.

It seems easy in Python where I can pass a tuple as value.What is the best
way to do this in Java.
I have tried ArrayWritable but it looks like I need to write my own class
like IntArrayWritable.

Thanks,
Akshaya


--
Pro Hadoop, a book to guide you from beginner to hadoop mastery,
http://www.amazon.com/dp/1430219424?tag=jewlerymall
www.prohadoopbook.com a community for Hadoop Professionals

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupcommon-user @
categorieshadoop
postedOct 6, '09 at 5:55a
activeOct 7, '09 at 1:00a
posts5
users4
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase