hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11162) Block Storage : add command line tool
Date Fri, 20 Jan 2017 22:42:26 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832539#comment-15832539

Anu Engineer commented on HDFS-11162:

[~vagarychen] Thanks for the patch, Some minor comments.

in CBlockCli.java
Should we check the length of argv before accessing it. what happens if the argv length is
1 ? Also what happens if I do cli --help ?

String serverIP = argv[argv.length - 2];

Line 201:
 In create volume, can we parse the size -- instead of assuming that that it is always in
MB. I am proposing that user can say 500MB or 5GB or 8TB. so it is easy to specify the size.

 Also catch the exception and print a good error for the user if the long and int that we
are trying to parse does not work correctly ? Same comment on all commands when we are handling
the user args.

> Block Storage : add command line tool
> -------------------------------------
>                 Key: HDFS-11162
>                 URL: https://issues.apache.org/jira/browse/HDFS-11162
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>         Attachments: HDFS-11162-HDFS-7240.001.patch, HDFS-11162-HDFS-7240.002.patch,
> The block storage service uses a client side command line tool for volume create/delete/info/list.
This JIRA it to add this command line tool.

This message was sent by Atlassian JIRA

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

View raw message