pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3291) TestExampleGenerator fails on Windows because of lack of file name escaping
Date Tue, 14 May 2013 18:15:16 GMT

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

Daniel Dai updated PIG-3291:
----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

+1. Patch committed to trunk. Thanks David!
                
> TestExampleGenerator fails on Windows because of lack of file name escaping
> ---------------------------------------------------------------------------
>
>                 Key: PIG-3291
>                 URL: https://issues.apache.org/jira/browse/PIG-3291
>             Project: Pig
>          Issue Type: Sub-task
>    Affects Versions: 0.12
>         Environment: Windows
>            Reporter: David Wannemacher
>            Assignee: David Wannemacher
>             Fix For: 0.12
>
>         Attachments: PIG-3291.trunk.patch
>
>
> On Windows, all tests fail with an exception like this:
> Testcase: testFilterGroupCountStore took 0.022 sec
> 	Caused an ERROR
> Error during parsing. <line 1, column 228>  Unexpected character 'S'
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing.
<line 1, column 228>  Unexpected character 'S'
> 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1669)
> 	at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1607)
> 	at org.apache.pig.PigServer.registerQuery(PigServer.java:563)
> 	at org.apache.pig.PigServer.registerQuery(PigServer.java:576)
> 	at org.apache.pig.test.TestExampleGenerator.testFilterGroupCountStore(TestExampleGenerator.java:394)
> Caused by: Failed to parse: <line 1, column 228>  Unexpected character 'S'
> 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:235)
> 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:174)
> 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1660)
> Looks like a change in https://issues.apache.org/jira/browse/PIG-2170 caused the file
names to stop being escaped properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message