hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-314) Error in conditional filter
Date Tue, 15 Jul 2008 15:39:31 GMT

     [ https://issues.apache.org/jira/browse/PIG-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Gates resolved PIG-314.
----------------------------

    Resolution: Duplicate

This is the same issue as PIG-312.

> Error in conditional filter
> ---------------------------
>
>                 Key: PIG-314
>                 URL: https://issues.apache.org/jira/browse/PIG-314
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Pradeep Kamath
>             Fix For: types_branch
>
>
> query which causes error:
> {code}
> a = load ':INPATH:/singlefile/studenttab10k' as (name, age, gpa);
> b = filter a by age == '25' and gpa < 3; 
> store b into ':OUTPATH:';
> {code}
> Error:
> {quote}
> 2008-07-14 16:34:10,687 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine
- Connecting to hadoop file system at: mytesthost:8020
> 2008-07-14 16:34:10,744 [main] WARN  org.apache.hadoop.fs.FileSystem - "mytesthost:8020"
is a deprecated filesystem name. Use "hdfs://mytesthost:8020/" instead.
> 2008-07-14 16:34:10,999 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine
- Connecting to map-reduce job tracker at: mytesthost:50020
> 2008-07-14 16:34:11,254 [main] WARN  org.apache.hadoop.fs.FileSystem - "mytesthost:8020"
is a deprecated filesystem name. Use "hdfs://mytesthost:8020/" instead.
> 2008-07-14 16:34:11,542 [main] WARN  org.apache.pig.PigServer - bytearray is implicitly
casted to chararray under LOEqual Operator
> 2008-07-14 16:34:11,542 [main] WARN  org.apache.pig.PigServer - bytearray is implicitly
casted to integer under LOLesserThan Operator
> store file is /user/pig/tests/results/pradeepk.1216078420/Types_5.out:org.apache.pig.builtin.PigStorage
> 2008-07-14 16:34:13,067 [main] WARN  org.apache.hadoop.fs.FileSystem - "mytesthost:8020"
is a deprecated filesystem name. Use "hdfs://mytesthost:8020/" instead.
> 2008-07-14 16:34:13,173 [Thread-9] WARN  org.apache.hadoop.fs.FileSystem - "mytesthost:8020"
is a deprecated filesystem name. Use "hdfs://mytesthost:8020/" instead.
> 2008-07-14 16:34:13,442 [Thread-9] WARN  org.apache.hadoop.fs.FileSystem - "mytesthost:8020"
is a deprecated filesystem name. Use "hdfs://mytesthost:8020/" instead.
> 2008-07-14 16:34:13,635 [main] INFO  org.apache.pig.impl.mapReduceLayer.Launcher - 0.0%
complete
> 2008-07-14 16:34:34,900 [main] INFO  org.apache.pig.impl.mapReduceLayer.Launcher - 100.0%
complete
> 2008-07-14 16:34:38,937 [main] INFO  org.apache.pig.impl.mapReduceLayer.Launcher - Unsuccessful
attempt. Completed 0.0% of the job
> 2008-07-14 16:34:38,941 [main] ERROR org.apache.pig.impl.mapReduceLayer.Launcher - Error
message from task (map) tip_200807081132_0525_m_000000 java.lang.NullPointerException
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.doComparison(LessThanExpr.java:113)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.getNext(LessThanExpr.java:85)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.POAnd.getNext(POAnd.java:70)
>     at org.apache.pig.impl.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:145)
>     at org.apache.pig.impl.mapReduceLayer.PigMapBase.map(PigMapBase.java:117)
>     at org.apache.pig.impl.mapReduceLayer.PigMapOnly$Map.map(PigMapOnly.java:64)
>     at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
>  java.lang.NullPointerException
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.doComparison(LessThanExpr.java:113)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.getNext(LessThanExpr.java:85)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.POAnd.getNext(POAnd.java:70)
>     at org.apache.pig.impl.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:145)
>     at org.apache.pig.impl.mapReduceLayer.PigMapBase.map(PigMapBase.java:117)
>     at org.apache.pig.impl.mapReduceLayer.PigMapOnly$Map.map(PigMapOnly.java:64)
>     at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
>  java.lang.NullPointerException
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.doComparison(LessThanExpr.java:113)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.getNext(LessThanExpr.java:85)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.POAnd.getNext(POAnd.java:70)
>     at org.apache.pig.impl.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:145)
>     at org.apache.pig.impl.mapReduceLayer.PigMapBase.map(PigMapBase.java:117)
>     at org.apache.pig.impl.mapReduceLayer.PigMapOnly$Map.map(PigMapOnly.java:64)
>     at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
>  java.lang.NullPointerException
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.doComparison(LessThanExpr.java:113)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.LessThanExpr.getNext(LessThanExpr.java:85)
>     at org.apache.pig.impl.physicalLayer.expressionOperators.POAnd.getNext(POAnd.java:70)
>     at org.apache.pig.impl.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:145)
>     at org.apache.pig.impl.mapReduceLayer.PigMapBase.map(PigMapBase.java:117)
>     at org.apache.pig.impl.mapReduceLayer.PigMapOnly$Map.map(PigMapOnly.java:64)
>     at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)
> {quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message