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:16:43 UTC

[jira] Updated: (HADOOP-2475) "dfs -cat" fails if multiple files are requested

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