You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Rushabh S Shah (JIRA)" <ji...@apache.org> on 2016/08/18 13:55:21 UTC

[jira] [Commented] (HADOOP-13510) "hadoop fs -getmerge" docs, .../dir does not work, .../dir/* works.

    [ https://issues.apache.org/jira/browse/HADOOP-13510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426502#comment-15426502 ] 

Rushabh S Shah commented on HADOOP-13510:
-----------------------------------------

The following command works for me.
I am running hadoop 2.7 with some internal fixes.
But none of the fixes are related to getmerge command.
{noformat}
hadoop fs -getmerge -nl /user/rushabhs/tmp1 /tmp/merge.java
{noformat}
May be if you can attach all the files in src folder (or a subset of the files which are enough to reproduce this failure) then I can try running the command with that files and check whether I encounter the bug.
But according to me it should work just fine.
Correct me if I am missing something here.

> "hadoop fs -getmerge" docs, .../dir does not work, .../dir/* works.
> -------------------------------------------------------------------
>
>                 Key: HADOOP-13510
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13510
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>         Environment: HDP 2.4.2
>            Reporter: David Sidlo
>            Priority: Minor
>              Labels: dfs, fs, getmerge, hadoop, hdfs
>
> Docs indicate that the following command would work...
>    hadoop fs -getmerge -nl /src /opt/output.txt
> For me, it results in a zero-length file /opt/output.txt.
> But the following does work...
>    hadoop fs -getmerge -nl /src/* /opt/output.txt



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org