hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-816) PigStorage() does not accept Unicode characters in its contructor
Date Fri, 29 May 2009 21:28:51 GMT

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

Pradeep Kamath updated PIG-816:
-------------------------------

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

Patch committed.

> PigStorage() does not accept Unicode characters in its contructor 
> ------------------------------------------------------------------
>
>                 Key: PIG-816
>                 URL: https://issues.apache.org/jira/browse/PIG-816
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.3.0
>            Reporter: Viraj Bhat
>            Assignee: Pradeep Kamath
>            Priority: Critical
>             Fix For: 0.3.0
>
>         Attachments: PIG-816.patch, pig_1243043613713.log
>
>
> Simple Pig script which uses Unicode characters in the PigStorage() constructor fails
with the following error:
> {code}
> studenttab = LOAD '/user/viraj/studenttab10k' AS (name:chararray, age:int,gpa:float);
> X2 = GROUP studenttab by age;
> Y2 = FOREACH X2 GENERATE group, COUNT(studenttab);
> store Y2 into '/user/viraj/y2' using PigStorage('\u0001');
> {code}
> ========================================================================================
> ERROR org.apache.pig.tools.grunt.GruntParser - ERROR 2997: Unable to recreate exception
from backend error: org.apache.hadoop.ipc.RemoteException: java.io.IOException: java.lang.RuntimeException:
org.xml.sax.SAXParseException: Character reference "&#1" is an invalid XML character.
> ========================================================================================
> Attaching log file.

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