Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
None
Description
The insert shell command does not let me specify a table other than the current context.
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