You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Matthias Friedrich (JIRA)" <ji...@apache.org> on 2007/12/20 18:14:44 UTC
[jira] Created: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
"dfs -cat" fails if multiple files are requested
------------------------------------------------
Key: HADOOP-2475
URL: https://issues.apache.org/jira/browse/HADOOP-2475
Project: Hadoop
Issue Type: Bug
Components: dfs
Affects Versions: 0.15.1
Environment: Ubuntu Linux 7.10
Reporter: Matthias Friedrich
Priority: Trivial
I try to concatenate several files using the command line client:
$ bin/hadoop dfs -cat file1 file2
The first file works, but then I get the following message:
cat: Unable to write to output stream.
The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Matthias Friedrich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Friedrich updated HADOOP-2475:
---------------------------------------
Status: Patch Available (was: Open)
Close the InputStream but not System.out.
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nigel Daley reopened HADOOP-2475:
---------------------------------
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nigel Daley resolved HADOOP-2475.
---------------------------------
Resolution: Duplicate
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553728 ]
Hadoop QA commented on HADOOP-2475:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12372032/dfs-cat.patch
against trunk revision r605976.
@author +1. The patch does not contain any @author tags.
patch -1. The patch command could not apply the patch.
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1409/console
This message is automatically generated.
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Matthias Friedrich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Friedrich updated HADOOP-2475:
---------------------------------------
Attachment: dfs-cat.patch
Close the InputStream, but not System.out.
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nigel Daley updated HADOOP-2475:
--------------------------------
Fix Version/s: (was: 0.15.2)
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-2475) "dfs -cat" fails if multiple files
are requested
Posted by "Matthias Friedrich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Friedrich updated HADOOP-2475:
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.15.2
Status: Resolved (was: Patch Available)
This has already been fixed in r605220. I guess I should have submitted the patch earlier :)
> "dfs -cat" fails if multiple files are requested
> ------------------------------------------------
>
> Key: HADOOP-2475
> URL: https://issues.apache.org/jira/browse/HADOOP-2475
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.15.1
> Environment: Ubuntu Linux 7.10
> Reporter: Matthias Friedrich
> Priority: Trivial
> Fix For: 0.15.2
>
> Attachments: dfs-cat.patch
>
>
> I try to concatenate several files using the command line client:
> $ bin/hadoop dfs -cat file1 file2
> The first file works, but then I get the following message:
> cat: Unable to write to output stream.
> The problem is that stdout is closed after the first file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.