hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7340) incomplete help message is displayed for getmerge [addnl] option
Date Tue, 31 May 2011 16:24:47 GMT

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

Todd Lipcon commented on HADOOP-7340:
-------------------------------------

apparently [addnl] should be either "true" or "false"... but like the TODO says in CopyCommands.java,
we should deprecate that and make it a flag like -addnl

> incomplete help message is displayed for getmerge [addnl] option
> ----------------------------------------------------------------
>
>                 Key: HADOOP-7340
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7340
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: XieXianshan
>            Assignee: XieXianshan
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7340
>
>
> The help message for the command "hdfs dfs -help getmerge" is displayed like this:
> "-getmerge <src> <localdst> [addnl]:	Get all the files in the directories
that
> 		match the source file pattern and merge and sort them to only
> 		one file on local fs. <src> is kept."
> and the information about [addnl] option is missed,despite the fact that [addnl] option
is implemented.
> Therefore,the expected message should be displayed like this:
> "-getmerge <src> <localdst> [addnl]:	Get all the files in the directories
that
> 		match the source file pattern and merge and sort them to only
> 		one file on local fs. <src> is kept.
> 		  addnl   Optionally addnl can be set to enable adding a newline 
> 		          character at the end of each file."

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message