-- Ken
On Feb 10, 2011, at 2:37am, Guillaume wrote:
> I think I get a solution to my first problem, my custom tap had to
> define the equals method.
> I get this by seeing that in FlowStep, Sources are stored in a
> Map<Tap, String>. My tap was always replaced because the default
> implementation of equals in Tap is very permissive.
>
> On 10 fév, 11:06, Guillaume <g.eynard.bonte...@gmail.com> wrote:
>> Hello,
>>
>> I am trying to use cascading to simplify and chain MapReduce jobs I
>> have wrote.
>> The resulting flow will retrieve data in multiple source, and join
>> them in order to create one big object.
>>
>> My flow looks just like the example about multiple source in a flow
>> from the user guide.
>> The only thing is I use a custom Tap in order to read my data, this
>> Tap has been wrote using a custon InputFormat I have realize for my
>> hadoop jobs.
Normally you'd just create a custom Scheme. I assume your input data
comes from HDFS, so then the tap is Hfs.
That would simplify what you have to implement.
What does this code look like? I assume this is your custom code, right?
>> at cascading.pipe.Each.applyFilter(Each.java:372)
>> at cascading.pipe.Each.access$300(Each.java:53)
>> at cascading.pipe.Each$EachFilterHandler.handle(Each.java:
>> 558)
>> at cascading.pipe.Each$EachHandler.operate(Each.java:478)
>> ... 8 more
>>
>> Does anyone has any idea abuot what I'm doing wrong ?
>
> --
> You received this message because you are subscribed to the Google
> Groups "cascading-user" group.
> To post to this group, send email to cascadi...@googlegroups.com.
> To unsubscribe from this group, send email to cascading-use...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en
> .
>
--------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c w e b m i n i n g