You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xu Zhang (JIRA)" <ji...@apache.org> on 2008/04/05 07:29:24 UTC
[jira] Created: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
"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
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.
[jira] Updated: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Xu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xu Zhang updated PIG-192:
-------------------------
Attachment: PigLoggingTest.cpp
> "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.
[jira] Updated: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Xu Zhang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy resolved PIG-192.
-------------------------------
Resolution: Fixed
{noformat}
cat input.txt | PigLoggingTest 10 f
{noformat}
PigLoggingTest _is_ reading from stdin in the shell too... if you do not want it to read from stdin you need to specify a *input* spec in your DEFINE ...
> "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.
[jira] Reopened: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy reopened PIG-192:
-------------------------------
> "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.
[jira] Updated: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Xu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xu Zhang updated PIG-192:
-------------------------
Attachment: 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
>
>
> 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.
[jira] Resolved: (PIG-192) "Broken pipe" if the streaming
script/binary does not read from STDIN
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy resolved PIG-192.
-------------------------------
Resolution: Invalid
> "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.