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 "XieXianshan (JIRA)" <ji...@apache.org> on 2011/05/25 08:23:47 UTC
[jira] [Created] (HADOOP-7329) incomplete help message is
displayed for df -h option
incomplete help message is displayed for df -h option
------------------------------------------------------
Key: HADOOP-7329
URL: https://issues.apache.org/jira/browse/HADOOP-7329
Project: Hadoop Common
Issue Type: Improvement
Components: fs
Affects Versions: 0.23.0
Reporter: XieXianshan
Priority: Minor
Fix For: 0.23.0
The help message for the command "hdfs dfs -help df" is displayed like this:
"-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
If the filesystem has multiple partitions, and no path to a
particular partition is specified, then the status of the root
partitions will be shown."
and the information about df -h option is missed,despite the fact that df -h option is implemented.
Therefore,the expected message should be displayed like this:
"-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
If the filesystem has multiple partitions, and no path to a
particular partition is specified, then the status of the root
partitions will be shown.
-h Formats the sizes of files in a human-readable fashion
rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038990#comment-13038990 ]
Hadoop QA commented on HADOOP-7329:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12480372/HADOOP-7329
against trunk revision 1127215.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/522//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/522//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/522//console
This message is automatically generated.
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-7329:
--------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks XieXianshan.
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039203#comment-13039203 ]
Hudson commented on HADOOP-7329:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #618 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk-Commit/618/])
HADOOP-7329. Improve help message for "df" to include "-h" flag. Contributed by Xie Xianshan.
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1127576
Files :
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/FsUsage.java
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon reassigned HADOOP-7329:
-----------------------------------
Assignee: XieXianshan
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039189#comment-13039189 ]
Todd Lipcon commented on HADOOP-7329:
-------------------------------------
+1. I don't think we need tests for this - we don't currently have any tests on help output.
I manually verified the output of "hadoop fs -help" with the patch and it looks great. Thanks.
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039684#comment-13039684 ]
Hudson commented on HADOOP-7329:
--------------------------------
Integrated in Hadoop-Common-trunk #700 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/700/])
HADOOP-7329. Improve help message for "df" to include "-h" flag. Contributed by Xie Xianshan.
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1127576
Files :
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/FsUsage.java
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057160#comment-13057160 ]
Hudson commented on HADOOP-7329:
--------------------------------
Integrated in Hadoop-Common-trunk #732 (See [https://builds.apache.org/job/Hadoop-Common-trunk/732/])
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "XieXianshan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XieXianshan updated HADOOP-7329:
--------------------------------
Attachment: HADOOP-7329
fix the help message for df -h option.
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "XieXianshan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XieXianshan updated HADOOP-7329:
--------------------------------
Status: Patch Available (was: Open)
Fix the help message for df -h option.
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Harsh J Chouraria (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038992#comment-13038992 ]
Harsh J Chouraria commented on HADOOP-7329:
-------------------------------------------
Patch LGTM :)
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057099#comment-13057099 ]
Hudson commented on HADOOP-7329:
--------------------------------
Integrated in Hadoop-Common-trunk-maven #43 (See [https://builds.apache.org/job/Hadoop-Common-trunk-maven/43/])
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7329) incomplete help message is
displayed for df -h option
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057649#comment-13057649 ]
Hudson commented on HADOOP-7329:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #668 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/668/])
> incomplete help message is displayed for df -h option
> ------------------------------------------------------
>
> Key: HADOOP-7329
> URL: https://issues.apache.org/jira/browse/HADOOP-7329
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HADOOP-7329
>
>
> The help message for the command "hdfs dfs -help df" is displayed like this:
> "-df [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown."
> and the information about df -h option is missed,despite the fact that df -h option is implemented.
> Therefore,the expected message should be displayed like this:
> "-df [-h] [<path> ...]: Shows the capacity, free and used space of the filesystem.
> If the filesystem has multiple partitions, and no path to a
> particular partition is specified, then the status of the root
> partitions will be shown.
> -h Formats the sizes of files in a human-readable fashion
> rather than a number of bytes."
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira