accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-745) Use a CLI library consistently to parse parameters in all utilities.
Date Wed, 19 Dec 2012 18:17:13 GMT

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

Hudson commented on ACCUMULO-745:
---------------------------------

Integrated in Accumulo-Trunk #585 (See [https://builds.apache.org/job/Accumulo-Trunk/585/])
    ACCUMULO-745 add option to find instance via site file (Revision 1423949)
ACCUMULO-745 use jcommander to parse command line arguments (Revision 1423923)

     Result = SUCCESS
ecn : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/ClientOpts.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/Initialize.java

ecn : 
Files : 
* /accumulo/trunk/LICENSE
* /accumulo/trunk/bin/accumulo
* /accumulo/trunk/bin/config.sh
* /accumulo/trunk/bin/tool.sh
* /accumulo/trunk/core/pom.xml
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/ClientOnDefaultTable.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/ClientOnRequiredTable.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/ClientOpts.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/cli/Help.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ServerClient.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ThriftTransportPool.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormat.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/conf/Property.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/file/rfile/SplitLarge.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/conf/ColumnSet.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/user/SummingCombiner.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/master/thrift/TabletServerStatus.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/trace/TraceDump.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/LoggingRunnable.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/Merge.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/TTimeoutTransport.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/cli
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/cli/TestClientOpts.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/file/BloomFilterLayerLookupTest.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/util/shell/command/FormatterCommandTest.java
* /accumulo/trunk/docs/examples/README.batch
* /accumulo/trunk/docs/examples/README.bloom
* /accumulo/trunk/docs/examples/README.bulkIngest
* /accumulo/trunk/docs/examples/README.dirlist
* /accumulo/trunk/docs/examples/README.filedata
* /accumulo/trunk/docs/examples/README.helloworld
* /accumulo/trunk/docs/examples/README.isolation
* /accumulo/trunk/docs/examples/README.mapred
* /accumulo/trunk/docs/examples/README.maxmutation
* /accumulo/trunk/docs/examples/README.shard
* /accumulo/trunk/docs/examples/README.visibility
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/Flush.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/ReadWriteExample.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RowOperations.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/SequentialBatchWriter.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/dirlist/FileCount.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/dirlist/Ingest.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/dirlist/QueryUtil.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/dirlist/Viewer.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/CharacterHistogram.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataIngest.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/filedata/FileDataQuery.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/InsertWithBatchWriter.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/InsertWithOutputFormat.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/isolation/InterferenceTest.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/RegexExample.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/RowHash.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/TableToFile.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/TeraSortIngest.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/UniqueColumns.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/WordCount.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/bulk/BulkIngestExample.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/bulk/GenerateTestData.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/bulk/SetupTable.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/mapreduce/bulk/VerifyIngest.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/shard/ContinuousQuery.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/shard/Index.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/shard/Query.java
* /accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/shard/Reverse.java
* /accumulo/trunk/examples/simple/src/test/java/org/apache/accumulo/examples/simple/dirlist/CountTest.java
* /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/util/LoggingRunnable.java
* /accumulo/trunk/pom.xml
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/cli
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/cli/ClientOnDefaultTable.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/cli/ClientOnRequiredTable.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/cli/ClientOpts.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fate/Admin.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/logger/LogReader.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/EventCoordinator.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/Master.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/state/MergeStats.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/metanalysis/FindTablet.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/metanalysis/IndexMeta.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/metanalysis/PrintEvents.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/servlets/trace/Basic.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/EncodedBinaryTreePath.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/BulkImportDirectory.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/CreateRFiles.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/CreateRandomRFile.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/CreateTestTable.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/GCLotsOfCandidatesTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/ListTables.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/NativeMapConcurrencyTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/QueryMetadataTable.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/TestBinaryRows.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/TestIngest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/TestMultiTableIngest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/TestRandomDeletes.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/VerifyIngest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/WrongTabletTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousBatchWalker.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousIngest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousMoru.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousQuery.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousScanner.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousStatsCollector.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousVerify.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/ContinuousWalk.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/TimeBinner.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/continuous/UndefinedAnalyzer.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/BatchWriterFlushTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/CacheTestClean.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/FateStarvationTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/FunctionalTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/MaxOpenTest.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/RunTests.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/functional/ZombieTServer.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/performance/scan/CollectTabletStats.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/performance/thrift/NullTserver.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/randomwalk/Framework.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/scalability/Run.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/AddFilesWithMissingEntries.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/Admin.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/ChangeSecret.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/CheckForMetadataProblems.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/CleanZookeeper.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/DeleteZooInstance.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/DumpZookeeper.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/FindOfflineTablets.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/Initialize.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/ListInstances.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/LocalityCheck.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/RandomWriter.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/RemoveEntriesForMissingFiles.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/RestoreZookeeper.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/TServerUtils.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/TabletServerLocks.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/VerifyTabletAssignments.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/util/ZooZap.java
* /accumulo/trunk/start/src/main/java/org/apache/accumulo/start/TestMain.java
* /accumulo/trunk/test/system/auto/JavaTest.py
* /accumulo/trunk/test/system/auto/TestUtils.py
* /accumulo/trunk/test/system/auto/simple/binary.py
* /accumulo/trunk/test/system/auto/simple/bulk.py
* /accumulo/trunk/test/system/auto/simple/compaction.py
* /accumulo/trunk/test/system/auto/simple/delete.py
* /accumulo/trunk/test/system/auto/simple/deleterows.py
* /accumulo/trunk/test/system/auto/simple/dynamicThreadPools.py
* /accumulo/trunk/test/system/auto/simple/examples.py
* /accumulo/trunk/test/system/auto/simple/gc.py
* /accumulo/trunk/test/system/auto/simple/mapreduce.py
* /accumulo/trunk/test/system/auto/simple/merge.py
* /accumulo/trunk/test/system/auto/simple/readwrite.py
* /accumulo/trunk/test/system/auto/simple/split.py
* /accumulo/trunk/test/system/auto/simple/zoo.py
* /accumulo/trunk/test/system/auto/simple/zooCacheTest.py
* /accumulo/trunk/test/system/auto/stress/batchWrite.py
* /accumulo/trunk/test/system/auto/stress/halfDead.py
* /accumulo/trunk/test/system/bench/lib/IngestBenchmark.py
* /accumulo/trunk/test/system/bench/lib/RowHashBenchmark.py
* /accumulo/trunk/test/system/continuous/report.pl
* /accumulo/trunk/test/system/continuous/run-moru.sh
* /accumulo/trunk/test/system/continuous/run-verify.sh
* /accumulo/trunk/test/system/continuous/start-batchwalkers.sh
* /accumulo/trunk/test/system/continuous/start-ingest.sh
* /accumulo/trunk/test/system/continuous/start-scanners.sh
* /accumulo/trunk/test/system/continuous/start-stats.sh
* /accumulo/trunk/test/system/continuous/start-walkers.sh
* /accumulo/trunk/test/system/randomwalk/bin/start-local.sh
* /accumulo/trunk/test/system/test1/ingest_test.sh
* /accumulo/trunk/test/system/test1/ingest_test_2.sh
* /accumulo/trunk/test/system/test1/verify_test.sh
* /accumulo/trunk/test/system/test1/verify_test_2.sh
* /accumulo/trunk/test/system/test2/concurrent.sh
* /accumulo/trunk/test/system/test3/bigrow.sh
* /accumulo/trunk/test/system/test4/bulk_import_test.sh
* /accumulo/trunk/test/system/test5
* /accumulo/trunk/test/system/upgrade_test.sh
* /accumulo/trunk/trace/src/main/java/org/apache/accumulo/cloudtrace/instrument/impl/MilliSpan.java

                
> Use a CLI library consistently to parse parameters in all utilities.
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-745
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-745
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.1
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.5.0
>
>
> In a few utilities, the command-line parsing is pretty lazy.  There's no usage, just
an NPE if you don't provide all the magic options on the command-line.  In particular, Initialize
doesn't use an off-the-shelf library for command-line parsing, and it really should.
> See ACCUMULO-744.
> In addition, many command-line utilities can and should be able to read accumulo-site.xml,
and do not need to provide username/password/instance/zookeeper information by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message