[ 
https://issues.apache.org/jira/browse/PIG-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711878#action_12711878
 ] 

Olga Natkovich commented on PIG-811:
------------------------------------

+1, patch looks good. will be committing shortly

> Globs with "?" in the pattern are broken in local mode
> ------------------------------------------------------
>
>                 Key: PIG-811
>                 URL: https://issues.apache.org/jira/browse/PIG-811
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Olga Natkovich
>            Assignee: Gunther Hagleitner
>             Fix For: 0.3.0
>
>         Attachments: local_engine_glob.patch
>
>
> Script:
> a = load 'studenttab10?';
> dump a;
> Actual file name: studenttab10k
> Stack trace:
> ERROR 2081: Unable to setup the load function.
> org.apache.pig.backend.executionengine.ExecException: ERROR 2081: Unable to 
> setup the load function.
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLoad.getNext(POLoad.java:128)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:231)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POFilter.getNext(POFilter.java:95)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator.processInput(PhysicalOperator.java:231)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getNext(POStore.java:117)
>         at 
> org.apache.pig.backend.local.executionengine.LocalPigLauncher.runPipeline(LocalPigLauncher.java:129)
>         at 
> org.apache.pig.backend.local.executionengine.LocalPigLauncher.launchPig(LocalPigLauncher.java:102)
>         at 
> org.apache.pig.backend.local.executionengine.LocalExecutionEngine.execute(LocalExecutionEngine.java:163)
>         at 
> org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:763)
>         at org.apache.pig.PigServer.execute(PigServer.java:756)
>         at org.apache.pig.PigServer.access$100(PigServer.java:88)
>         at org.apache.pig.PigServer$Graph.execute(PigServer.java:923)
>         at org.apache.pig.PigServer.executeBatch(PigServer.java:242)
>         at 
> org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:110)
>         at 
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:151)
>         at 
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:123)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:88)
>         at org.apache.pig.Main.main(Main.java:372)
> Caused by: java.io.IOException: 
> file:/home/y/share/pigtest/local/data/singlefile/studenttab10 does not exist
>         at 
> org.apache.pig.impl.io.FileLocalizer.openDFSFile(FileLocalizer.java:188)
>         at 
> org.apache.pig.impl.io.FileLocalizer.openLFSFile(FileLocalizer.java:244)
>         at org.apache.pig.impl.io.FileLocalizer.open(FileLocalizer.java:299)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLoad.setUp(POLoad.java:96)
>         at 
> org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLoad.getNext(POLoad.java:124)

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

Reply via email to