alexcozzi
unread,Jun 23, 2010, 1:30:39 PM6/23/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cascading-user
I just finished debugging my cascading program: it was failing with an
unhelpful error
Finally I found out that the cause was I put the wrong path in the
output path:
basically this was the problematic line:
new Hfs(new TextDelimited(new Fields("a", "b"), "\t"), "/really/wrong/
path", SinkMode.REPLACE)
and the error was (this is from running in local model, but in
distributed mode I get the same behaviour:)
Exception in thread "main" cascading.flow.FlowException: step failed:
(3/4) ...ks', 'skips', 'impressions', 'ca', 'count']]"]["/Users/
administrator/tt"]"]
at cascading.flow.FlowStepJob.blockOnJob(FlowStepJob.java:173)
at cascading.flow.FlowStepJob.start(FlowStepJob.java:138)
at cascading.flow.FlowStepJob.call(FlowStepJob.java:127)
at cascading.flow.FlowStepJob.call(FlowStepJob.java:39)
at java.util.concurrent.FutureTask
$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
I think that Hfs should test and generate a more helpful error message
if it can not create the output file: