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

Paul Yang updated HIVE-457:
---------------------------

    Attachment: HIVE-457.2.patch

Right, missed how ScriptOperator.outThread depends on TextRecordReader

* Changed limit to 10MB
* Added var to conf

Would it be worthwhile to allow the user to specify a different RecordReader 
for the error stream? Then we could use a size-limited subclass of 
TextRecordReader for only the error stream.

> ScriptOperator should NOT cache all data in stderr
> --------------------------------------------------
>
>                 Key: HIVE-457
>                 URL: https://issues.apache.org/jira/browse/HIVE-457
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Paul Yang
>            Priority: Blocker
>             Fix For: 0.5.0
>
>         Attachments: err.sh, HIVE-457.1.patch, HIVE-457.2.patch
>
>
> Sometimes user scripts output a lot of data to stderr without a new line, and 
> this causes Hive to go out-of-memory.
> We should directly output the data from stderr without caching it.

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