hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7341) Fix option parsing in CommandFormat
Date Mon, 06 Jun 2011 11:15:59 GMT

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

Hudson commented on HADOOP-7341:
--------------------------------

Integrated in Hadoop-Common-trunk #711 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/711/])
    HADOOP-7341. Fix options parsing in CommandFormat. Contributed by Daryn Sharp.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1132505
Files : 
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/CopyCommands.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Touchz.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/MoveCommands.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/FsUsage.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/TestCommandFormat.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Stat.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Test.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Count.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Tail.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Delete.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/SetReplication.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Ls.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Display.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/CommandFormat.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShellPermissions.java


> Fix option parsing in CommandFormat
> -----------------------------------
>
>                 Key: HADOOP-7341
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7341
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7341-2.patch, HADOOP-7341-3.patch, HADOOP-7341.patch
>
>
> CommandFormat currently allows options in any location within the args.  This is not
the intended behavior for FsShell commands.  Prior to the redesign, the commands used to expect
option processing to stop at the first non-option.
> CommandFormat was an existing class prior the redesign, but it was only used by "count"
to find the -q flag.  All commands were converted to using this class, thus inherited the
unintended behavior.

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

Mime
View raw message