hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh Chouraria <ha...@cloudera.com>
Subject Re: How do I split input on fixed length keys
Date Tue, 05 Apr 2011 05:37:57 GMT
Hello Kevin,

On Fri, Mar 25, 2011 at 12:52 AM,  <Kevin.Leach@thomsonreuters.com> wrote:
> -Dstream.map.output.field.separator= \
> -Dstream.num.map.output.key.fields=13 \
>
> I have searched the forum for discussions on fixed length or splitting
> keys but have not found my answer. Perhaps this is not possible, at
> least on the command line?

I'm not aware of any streaming provided functionality that gives you
this support. Your mapper code will have to achieve this on its own
before emitting, I think (Or your InputFormat can do it at read time,
perhaps).

-- 
Harsh J
Support Engineer, Cloudera

Mime
View raw message