You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Martin Z <ma...@hotmail.com> on 2011/01/11 22:05:06 UTC

Timeout error

Hello,
I'm writing to ask if you can help me with an error I'm getting using Pig.
I'm debugging a UDF using Pig local and remotely attaching to the process from Eclipse. After about a minute, I get a timeout error (copied at the bottom of the email). Do you know if there's a way to increase the timeout or if there's another issue here?
Thanks!
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias Nothing	at org.apache.pig.PigServer.openIterator(PigServer.java:475)	at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:532)	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:190)	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:166)	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:142)	at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89)	at org.apache.pig.Main.main(Main.java:397)Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1002: Unable to store alias Nothing	at org.apache.pig.PigServer.store(PigServer.java:530)	at org.apache.pig.PigServer.openIterator(PigServer.java:458)	... 6 moreCaused by: org.apache.pig.backend.executionengine.ExecException: ERROR 0: ERROR: sync timed out	at org.apache.pig.backend.local.executionengine.LocalExecutionEngine.execute(LocalExecutionEngine.java:184)	at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:773)	at org.apache.pig.PigServer.store(PigServer.java:522)	... 7 moreCaused by: java.lang.RuntimeException: ERROR: sync timed out	...		at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.finish(POUserFunc.java:356)	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.UDFFinishVisitor.visitUserFunc(UDFFinishVisitor.java:36)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.visit(POUserFunc.java:387)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.visit(POUserFunc.java:52)	at org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:68)	at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans.PhyPlanVisitor.visitPOForEach(PhyPlanVisitor.java:92)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.visit(POForEach.java:116)	at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.visit(POForEach.java:50)	at org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:68)	at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)	at org.apache.pig.backend.local.executionengine.LocalPigLauncher.launchPig(LocalPigLauncher.java:114)	at org.apache.pig.backend.local.executionengine.LocalExecutionEngine.execute(LocalExecutionEngine.java:165)	... 9 more