hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Liptak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13787) use a cli argument parsing library instead of ad-hoc string handling
Date Fri, 29 May 2015 00:54:28 GMT

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

Gabor Liptak commented on HBASE-13787:
--------------------------------------



org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication parses arguments with callback
from ToolRunner
org.apache.hadoop.hbase.mapreduce.CellCounter uses org.apache.hadoop.util.GenericOptionsParser
which uses org.apache.commons.cli.CommandLine, and reads two other parameters directly from
args
org.apache.hadoop.hbase.mapreduce.CopyTable parses arguments with callback from ToolRunner
org.apache.hadoop.hbase.mapreduce.Driver defers to ProgramDriver to parse
org.apache.hadoop.hbase.mapreduce.Export uses org.apache.hadoop.util.GenericOptionsParser
which uses org.apache.commons.cli.CommandLine, and reads two other parameters directly from
args
org.apache.hadoop.hbase.mapreduce.Import uses org.apache.hadoop.util.GenericOptionsParser
which uses org.apache.commons.cli.CommandLine, and reads two other parameters directly from
args
org.apache.hadoop.hbase.mapreduce.ImportTsv uses org.apache.hadoop.util.GenericOptionsParser
which uses org.apache.commons.cli.CommandLine, and reads two other parameters directly from
args
org.apache.commons.cli.LoadIncrementalHFiles uses org.apache.hadoop.util.GenericOptionsParser
which uses org.apache.commons.cli.CommandLine, and reads two other parameters directly from
args
org.apache.commons.cli.RowCounter uses org.apache.hadoop.util.GenericOptionsParser which uses
org.apache.commons.cli.CommandLine, and reads two other parameters directly from args
org.apache.commons.cli.WALPlayer uses org.apache.hadoop.util.GenericOptionsParser which uses
org.apache.commons.cli.CommandLine, and reads two other parameters directly from args



> use a cli argument parsing library instead of ad-hoc string handling
> --------------------------------------------------------------------
>
>                 Key: HBASE-13787
>                 URL: https://issues.apache.org/jira/browse/HBASE-13787
>             Project: HBase
>          Issue Type: Sub-task
>          Components: mapreduce, util
>            Reporter: Sean Busbey
>
> several of our mapreduce based tools manually parse strings or rely on system properties
for hteir configuration. update all to use the same cli argument parsing library.
> The particular library used isn't important, but it should be one we already bring in
for some other reason.
> If possible try to make the arguments consistent across all the tools, since you'll be
looking broadly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message