You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org> on 2009/03/11 02:26:50 UTC

[jira] Created: (HBASE-1255) Parsing the command line arguments

Parsing the command line arguments
----------------------------------

                 Key: HBASE-1255
                 URL: https://issues.apache.org/jira/browse/HBASE-1255
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: master, regionserver
    Affects Versions: 0.19.0
            Reporter: Evgeny Ryabitskiy
            Assignee: Evgeny Ryabitskiy
            Priority: Trivial
             Fix For: 0.21.0


Current Process command-line args is very simple in master and Region Server.
There is a comment
    // Process command-line args. TODO: Better cmd-line processing
    // (but hopefully something not as painful as cli options).

So we still can use CLI http://commons.apache.org/cli/usage.html or someone from list of alternatives http://jopt-simple.sourceforge.net/

What is disadvantage of CLI ?



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (HBASE-1255) Parsing the command line arguments

Posted by Ryan Rawson <ry...@gmail.com>.
Cli requires too much code to do the 80% thing. 30 loc just to parse 3 args
is not reasonable.

On Mar 10, 2009 6:27 PM, "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org> wrote:

Parsing the command line arguments
----------------------------------

                Key: HBASE-1255
                URL: https://issues.apache.org/jira/browse/HBASE-1255
            Project: Hadoop HBase
         Issue Type: Improvement
         Components: master, regionserver
   Affects Versions: 0.19.0
           Reporter: Evgeny Ryabitskiy
           Assignee: Evgeny Ryabitskiy
           Priority: Trivial
            Fix For: 0.21.0


Current Process command-line args is very simple in master and Region
Server.
There is a comment
   // Process command-line args. TODO: Better cmd-line processing
   // (but hopefully something not as painful as cli options).

So we still can use CLI http://commons.apache.org/cli/usage.html or someone
from list of alternatives http://jopt-simple.sourceforge.net/

What is disadvantage of CLI ?



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.