[
https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625771#action_12625771
]
Olga Natkovich commented on PIG-373:
------------------------------------
Shravan,
I just tried again and here is my grunt session:
grunt> B = load 'foo' USING PigStorage() AS (s:chararray);
grunt> describe B;
{s: chararray}
grunt> C = load 'foo' USING PigStorage() AS (s:chararray);
grunt> dump C;
08/08/26 08:32:01 INFO mapReduceLayer.MapReduceLauncher: 0% complete
08/08/26 08:32:01 ERROR mapReduceLayer.MapReduceLauncher: Map reduce job failed
08/08/26 08:32:01 ERROR mapReduceLayer.MapReduceLauncher: java.io.IOException:
foo does not exist
at
org.apache.pig.backend.executionengine.PigSlicer.validate(PigSlicer.java:105)
at
org.apache.pig.impl.io.ValidatingInputFileSpec.validate(ValidatingInputFileSpec.java:59)
at
org.apache.pig.impl.io.ValidatingInputFileSpec.<init>(ValidatingInputFileSpec.java:44)
at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:199)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:712)
at org.apache.hadoop.mapred.jobcontrol.Job.submit(Job.java:347)
at
org.apache.hadoop.mapred.jobcontrol.JobControl.startReadyJobs(JobControl.java:247)
at
org.apache.hadoop.mapred.jobcontrol.JobControl.run(JobControl.java:279)
at java.lang.Thread.run(Thread.java:595)
08/08/26 08:32:01 ERROR grunt.GruntParser: java.io.IOException: Unable to open
iterator for alias: C [Job terminated with anomalous status FAILED]
at org.apache.pig.PigServer.openIterator(PigServer.java:315)
at
org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:258)
at
org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:176)
at
org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
at org.apache.pig.Main.main(Main.java:278)
Caused by: java.io.IOException: Job terminated with anomalous status FAILED
... 6 more
> unconnected load causes exception
> ---------------------------------
>
> Key: PIG-373
> URL: https://issues.apache.org/jira/browse/PIG-373
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Olga Natkovich
> Assignee: Shravan Matthur Narayanamurthy
> Fix For: types_branch
>
> Attachments: 373-1.patch, 373.patch
>
>
> Load expects to be connected to another operator and when it is not,an
> exception is raised. Two scripts that cause this behavior
> grunt> B = load 'foo' USING PigStorage() AS (s:chararray);
> grunt> describe B;
> grunt> B = load 'foo' USING PigStorage() AS (s:chararray);
> grunt> dump B;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.