hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-192) "Broken pipe" if the streaming script/binary does not read from STDIN
Date Sat, 05 Apr 2008 05:31:25 GMT

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

Xu Zhang updated PIG-192:
-------------------------

    Attachment:     (was: PigLoggingTest)

> "Broken pipe" if the streaming script/binary does not read from STDIN
> ---------------------------------------------------------------------
>
>                 Key: PIG-192
>                 URL: https://issues.apache.org/jira/browse/PIG-192
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>            Priority: Minor
>         Attachments: PigLoggingTest.cpp
>
>
> I got "broken pipe" exceptions if the streaming script/binary does not read from STDIN.
 I would expect the streaming still to come through.  For instance, on the shell command line
I can issue:
> {code}
>      cat input.txt | PigLoggingTest 10 f
> {code}
> and this does not generate any error even though PigLoggingTest in this case does not
read from STDIN at all.
> However, if I use the same command in Pig streaming I get "broken pipe".
> {code}
> A = load '../../singlefile/studenttab10k';
> B = stream A through `PigLoggingTest 10 f` as (name, age, gpa); 
> store B into 'results_14';
> {code}

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