[
https://issues.apache.org/jira/browse/PIG-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563144#action_12563144
]
Benjamin Francisoud commented on PIG-78:
----------------------------------------
+1 for the fix.
The compilation was ok for me ?! but I my job were failing with:
{noformat}
Error message from task (reduce) tip_xxxx java.lang.RuntimeException: getBytes
at org.apache.pig.builtin.PigStorage.putNext(PigStorage:85)
at
org.apache.pig.impl.mapreduceExec.PigOutputFormat$PigRecordWriter.write(PigOutputFormat:103)
at org.apache.hadoop.mapred.ReduceTask$2.collect(ReduceTask:309)
at
org.apache.pig.impl.mapreduceExec.PigMapReduce$ReduceDataOutputCollector.add(PigMapReduce:338)
{noformat}
after the fix no such problem anymore.
> src/org/apache/pig/builtin/PigStorage.java doesn't compile
> ----------------------------------------------------------
>
> Key: PIG-78
> URL: https://issues.apache.org/jira/browse/PIG-78
> Project: Pig
> Issue Type: Bug
> Reporter: Arun C Murthy
> Fix For: 0.1.0
>
> Attachments: PIG-78_0_20080125.patch
>
>
> {noformat}
> compile:
> [echo] *** Building Main Sources ***
> [javac] Compiling 6 source files to /Users/arunc/dev/java/pig/trunk/dist
> [javac]
> /Users/arunc/dev/java/pig/trunk/src/org/apache/pig/builtin/PigStorage.java:85:
> cannot find symbol
> [javac] symbol : method getBytes(java.nio.charset.Charset)
> [javac] location: class java.lang.String
> [javac] os.write((f.toDelimitedString(this.fieldDel) +
> (char)this.recordDel).getBytes(utf8));
> [javac] ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.