Grokbase Groups Pig dev August 2008
FAQ
unconnected load causes exception
---------------------------------

Key: PIG-373
URL: https://issues.apache.org/jira/browse/PIG-373
Project: Pig
Issue Type: Bug
Reporter: Olga Natkovich


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> dump 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.

Search Discussions

  • Olga Natkovich (JIRA) at Aug 12, 2008 at 6:34 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621919#action_12621919 ]

    Olga Natkovich commented on PIG-373:
    ------------------------------------

    Stack:

    And the error is:
    java.io.IOException: Unable to open iterator for alias: a [Unable to insert type casts into plan]
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:144)
    at org.apache.pig.impl.plan.optimizer.PlanOptimizer.optimize(PlanOptimizer.java:65)
    at org.apache.pig.PigServer.compileLp(PigServer.java:583)
    at org.apache.pig.PigServer.execute(PigServer.java:514)
    at org.apache.pig.PigServer.openIterator(PigServer.java:307)
    at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:258)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:175)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
    at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
    at org.apache.pig.Main.main(Main.java:302)
    Caused by: org.apache.pig.impl.plan.optimizer.OptimizerException: Unable to insert type casts into plan
    ... 10 more
    Caused by: java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.optimizer.LogicalTransformer.insertAfter(LogicalTransformer.java:203)
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:139)
    ... 9 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
    Fix For: types_branch


    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> dump 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.
  • Olga Natkovich (JIRA) at Aug 12, 2008 at 6:34 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich updated PIG-373:
    -------------------------------

    Fix Version/s: types_branch
    Affects Version/s: types_branch
    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
    Fix For: types_branch


    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> dump 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.
  • Pradeep Kamath (JIRA) at Aug 12, 2008 at 6:40 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621921#action_12621921 ]

    Pradeep Kamath commented on PIG-373:
    ------------------------------------

    Another use case for the same issue:
    {noformat}
    grunt> register my.jar
    grunt> a = load 'testdata' using MyLoader() as (s:map[], m, l);
    grunt> b = foreach a generate s#'name';
    grunt> describe a;
    2008-08-12 18:33:45,960 [main] ERROR org.apache.pig.tools.grunt.GruntParser - java.io.IOException: Unable to describe schema for alias a [Unable to insert type casts into plan]
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:144)
    at org.apache.pig.impl.plan.optimizer.PlanOptimizer.optimize(PlanOptimizer.java:65)
    at org.apache.pig.PigServer.compileLp(PigServer.java:583)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:281)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
    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: org.apache.pig.impl.plan.optimizer.OptimizerException: Unable to insert type casts into plan
    ... 9 more
    Caused by: java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.optimizer.LogicalTransformer.insertAfter(LogicalTransformer.java:203)
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:139)
    ... 8 more

    {noformat}
    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
    Fix For: types_branch


    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> dump 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.
  • Olga Natkovich (JIRA) at Aug 16, 2008 at 12:12 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich reassigned PIG-373:
    ----------------------------------

    Assignee: Shravan Matthur Narayanamurthy

    Alan suggested that we should not require that load requires that another operator follows it.
    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


    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> dump 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.
  • Olga Natkovich (JIRA) at Aug 18, 2008 at 7:04 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich updated PIG-373:
    -------------------------------

    Description:
    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;

    was:
    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> dump B;

    grunt> B = load 'foo' USING PigStorage() AS (s:chararray);
    grunt> dump B;

    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


    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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 20, 2008 at 11:57 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623967#action_12623967 ]

    Shravan Matthur Narayanamurthy commented on PIG-373:
    ----------------------------------------------------

    You are right olga. I have a fix for this in the TypeCastInserter. But svn is not working and hence could not submit patch. Will do it once svn is up.
    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


    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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 21, 2008 at 10:57 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623967#action_12623967 ]

    shravanmn edited comment on PIG-373 at 8/21/08 3:56 AM:
    -----------------------------------------------------------------------------

    You are right olga. I have a fix for this in the LogicalTransformer. But svn is not working and hence could not submit patch. Will do it once svn is up.

    was (Author: shravanmn):
    You are right olga. I have a fix for this in the TypeCastInserter. But svn is not working and hence could not submit patch. Will do it once svn is up.
    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


    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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 21, 2008 at 10:59 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Shravan Matthur Narayanamurthy updated PIG-373:
    -----------------------------------------------

    Status: Patch Available (was: Open)

    373.patch attached
    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.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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 21, 2008 at 10:59 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Shravan Matthur Narayanamurthy updated PIG-373:
    -----------------------------------------------

    Attachment: 373.patch
    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.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.
  • Olga Natkovich (JIRA) at Aug 21, 2008 at 7:59 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624463#action_12624463 ]

    Olga Natkovich commented on PIG-373:
    ------------------------------------

    Shravan, with you patch, load followed by dump works. However, describe still dies with the following stack:

    08/08/21 12:57:58 ERROR grunt.GruntParser: java.io.IOException: Unable to describe schema for alias A [Unable to insert type casts into plan]
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:144)
    at org.apache.pig.impl.plan.optimizer.PlanOptimizer.optimize(PlanOptimizer.java:65)
    at org.apache.pig.PigServer.compileLp(PigServer.java:587)
    at org.apache.pig.PigServer.dumpSchema(PigServer.java:284)
    at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
    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: org.apache.pig.impl.plan.optimizer.OptimizerException: Unable to insert type casts into plan
    ... 9 more
    Caused by: java.lang.NullPointerException
    at org.apache.pig.impl.logicalLayer.optimizer.LogicalTransformer.insertAfter(LogicalTransformer.java:212)
    at org.apache.pig.impl.logicalLayer.optimizer.TypeCastInserter.transform(TypeCastInserter.java:139)
    ... 8 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.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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 22, 2008 at 2:23 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Shravan Matthur Narayanamurthy updated PIG-373:
    -----------------------------------------------

    Attachment: 373-1.patch

    In the old patch I did the null check but forgot to break. Fixed that.
    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.
  • Olga Natkovich (JIRA) at Aug 24, 2008 at 6:40 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich updated PIG-373:
    -------------------------------

    Status: Open (was: Patch Available)
    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.
  • Olga Natkovich (JIRA) at Aug 24, 2008 at 6:40 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625209#action_12625209 ]

    Olga Natkovich commented on PIG-373:
    ------------------------------------

    Shravan, now describe works but dump does not. Do you have a cluster on which you can test both?
    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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 26, 2008 at 10:36 am
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625696#action_12625696 ]

    Shravan Matthur Narayanamurthy commented on PIG-373:
    ----------------------------------------------------

    Olga, I tried the patch on the trunk both locally and on a cluster. It seems to work for me. I can see that both describe and dump work just fine.
    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.
  • Olga Natkovich (JIRA) at Aug 26, 2008 at 3:33 pm
    [ 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.(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.
  • Shravan Matthur Narayanamurthy (JIRA) at Aug 26, 2008 at 5:29 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625796#action_12625796 ]

    Shravan Matthur Narayanamurthy commented on PIG-373:
    ----------------------------------------------------

    Is the file foo available to your config because its saying that it can't find the file 'foo'.

    Are you using Local mode with hadoop-site.xml?
    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.
  • Olga Natkovich (JIRA) at Aug 26, 2008 at 6:31 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625816#action_12625816 ]

    Olga Natkovich commented on PIG-373:
    ------------------------------------

    Shravan, my bad . WIll be commiting the patch shortly
    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.
  • Olga Natkovich (JIRA) at Aug 26, 2008 at 6:43 pm
    [ https://issues.apache.org/jira/browse/PIG-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich resolved PIG-373.
    --------------------------------

    Resolution: Fixed

    patch committed . thanks shravan
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 12, '08 at 6:30p
activeAug 26, '08 at 6:43p
posts19
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 19 posts

People

Translate

site design / logo © 2022 Grokbase