accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3241) insert command could accept an optional table argument
Date Thu, 16 Oct 2014 18:28:33 GMT
Mike Drob created ACCUMULO-3241:
-----------------------------------

             Summary: insert command could accept an optional table argument
                 Key: ACCUMULO-3241
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3241
             Project: Accumulo
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.6.0
            Reporter: Mike Drob


The {{insert}} shell command does not let me specify a table other than the current context.

{noformat}
root@fake> insert r cf cq v
2014-10-16 11:26:02,883 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table
context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify
a table if option is available.
root@fake> insert r cf cq v -t fake
2014-10-16 11:26:10,695 [shell.Shell] ERROR: org.apache.commons.cli.UnrecognizedOptionException:
Unrecognized option: -t
usage: insert <row> <colfamily> <colqualifier> <value> [-?] [-l <expression>]
[--timeout <timeout>] [-ts <timestamp>]
description: inserts a record
  -?,--help                              display this help
  -l,--visibility-label <expression>     formatted visibility
     --timeout <timeout>                 time before insert should fail if no data is
written. If no unit is given assumes seconds.  Units d,h,m,s,and ms are supported.  e.g. 30s
or 100ms
  -ts,--timestamp <timestamp>            timestamp to use for insert
{noformat}



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

Mime
View raw message