Grokbase Groups Pig dev July 2011
FAQ
load statement does not work with mount side tables
---------------------------------------------------

Key: PIG-2192
URL: https://issues.apache.org/jira/browse/PIG-2192
Project: Pig
Issue Type: Bug
Components: build
Affects Versions: 0.9.0
Environment: Pig 0.9.0 integrated with dotNext build
Reporter: Araceli Henley


SUMMARY:
Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.

STACK TRACE:
ig Stack Trace
---------------
ERROR 1200: Pig script failed to parse:
<line 1, column 4> pig script failed to validate: java.lang.NullPointerException

Failed to parse: Pig script failed to parse:
<line 1, column 4> pig script failed to validate: java.lang.NullPointerException
at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
at org.apache.pig.Main.run(Main.java:487)
at org.apache.pig.Main.main(Main.java:108)
Caused by:
<line 1, column 4> pig script failed to validate: java.lang.NullPointerException
at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)


EXAMPLE:
grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
<line 1, column 4> pig script failed to validate: java.lang.NullPointerException
Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
<line 1, column 4> pig script failed to validate: java.lang.NullPointerException
Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log

The files are viewable from hdfs as:

grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
Found 1 items
-rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
grunt> fs -ls /data/singlefile/studentnulltab10k
Found 1 items
-rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k


Mount side table:

/user/hadoopqa/pig/tests/data is mounted as /data

Additional Comments:
Regression suites pass on dotNext when mount side tables are not configured.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Olga Natkovich (JIRA) at Jul 26, 2011 at 11:25 pm
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Olga Natkovich updated PIG-2192:
    --------------------------------

    Fix Version/s: 0.9.0
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.0


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Dmitriy V. Ryaboy (JIRA) at Jul 27, 2011 at 12:29 am
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071456#comment-13071456 ]

    Dmitriy V. Ryaboy commented on PIG-2192:
    ----------------------------------------

    Should this be 9.1?
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.0


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Jul 27, 2011 at 1:13 am
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-2192:
    ----------------------------

    Fix Version/s: (was: 0.9.0)
    0.9.1
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.1


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Jul 27, 2011 at 1:13 am
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071464#comment-13071464 ]

    Daniel Dai commented on PIG-2192:
    ---------------------------------

    Yes, created 0.9.1 tag and link it to 0.9.1.
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.1


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Jul 27, 2011 at 10:59 pm
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072086#comment-13072086 ]

    Daniel Dai commented on PIG-2192:
    ---------------------------------

    Araceli, can you post log file?
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.1


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Araceli Henley (JIRA) at Jul 28, 2011 at 12:15 am
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Araceli Henley updated PIG-2192:
    --------------------------------

    Attachment: pig_1311717569232.log

    Pig Log
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.1

    Attachments: pig_1311717569232.log


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Araceli Henley (JIRA) at Aug 3, 2011 at 11:53 pm
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Araceli Henley updated PIG-2192:
    --------------------------------

    Attachment: pig_log.txt

    PigLog with 2043 Error
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Fix For: 0.9.1

    Attachments: pig_1311717569232.log, pig_log.txt


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Sep 6, 2011 at 5:47 pm
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-2192:
    ----------------------------

    Fix Version/s: (was: 0.9.1)
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Attachments: pig_1311717569232.log, pig_log.txt


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Sep 6, 2011 at 5:47 pm
    [ https://issues.apache.org/jira/browse/PIG-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098213#comment-13098213 ]

    Daniel Dai commented on PIG-2192:
    ---------------------------------

    The investigation shows the problem is on hadoop side. Will leave the Jira open until we verify the fix on hadoop side works. Unlink from 0.9.1 cuz I am not sure if the hadoop fix fits in the Pig release schedule.
    load statement does not work with mount side tables
    ---------------------------------------------------

    Key: PIG-2192
    URL: https://issues.apache.org/jira/browse/PIG-2192
    Project: Pig
    Issue Type: Bug
    Components: build
    Affects Versions: 0.9.0
    Environment: Pig 0.9.0 integrated with dotNext build
    Reporter: Araceli Henley
    Attachments: pig_1311717569232.log, pig_log.txt


    SUMMARY:
    Loading a file either using the full file path with the NAMENODE or with the mount point results in a null pointer exception.
    STACK TRACE:
    ig Stack Trace
    ---------------
    ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Failed to parse: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:178)
    at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1622)
    at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1595)
    at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
    at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
    at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
    at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:67)
    at org.apache.pig.Main.run(Main.java:487)
    at org.apache.pig.Main.main(Main.java:108)
    Caused by:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:352)
    at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:2723)
    at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:999)
    at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:638)
    at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:459)
    at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:357)
    at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:171)
    EXAMPLE:
    grunt> a = load '/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:32,708 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    grunt> a = load 'hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k' using PigStorage() as (name, age, gpa);
    2011-07-26 21:59:42,403 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: Pig script failed to parse:
    <line 1, column 4> pig script failed to validate: java.lang.NullPointerException
    Details at logfile: /homes/araceli/pigtest_9/pigharness/dist/pig_harness/tests/pig_1311717569232.log
    The files are viewable from hdfs as:
    grunt> fs -ls hdfs://NAMENODE1/user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /user/hadoopqa/pig/tests/data/singlefile/studentnulltab10k
    grunt> fs -ls /data/singlefile/studentnulltab10k
    Found 1 items
    -rw-r--r-- 3 hadoopqa hdfs 209607 2011-07-05 06:54 /data/singlefile/studentnulltab10k
    Mount side table:
    /user/hadoopqa/pig/tests/data is mounted as /data
    Additional Comments:
    Regression suites pass on dotNext when mount side tables are not configured.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedJul 26, '11 at 10:57p
activeSep 6, '11 at 5:47p
posts10
users1
websitepig.apache.org

1 user in discussion

Daniel Dai (JIRA): 10 posts

People

Translate

site design / logo © 2021 Grokbase