[
https://issues.apache.org/jira/browse/HBASE-5548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257829#comment-13257829
]
Jesse Yates commented on HBASE-5548:
------------------------------------
bq. Seems like an issue?
yeah, I think so. Odd that I missed that, though I may have made some changes
and not done all the testing I should have. I'll take a look.
bq. Also in the help, talks about a table reference without explaining what it
is (there is no mention of what this is in the general help either it seems).
It could be confusing talking about a 't' w/o saying where it came from?
Yeah, that can be confusing. I'll clean it up a bit.
bq. In the rest of the shell columns are a combo of family and qualifier
delimited by the ':'. You are changing that w/ the above.
Fair enough, though I would argue this is cleaner, but I switch it over for
this patch.
Thanks for giving it a spin stack!
> Add ability to get a table in the shell
> ---------------------------------------
>
> Key: HBASE-5548
> URL: https://issues.apache.org/jira/browse/HBASE-5548
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Reporter: Jesse Yates
> Assignee: Jesse Yates
> Fix For: 0.96.0, 0.94.1
>
> Attachments: ruby_HBASE-5528-v0.patch, ruby_HBASE-5548-v1.patch,
> ruby_HBASE-5548-v2.patch, ruby_HBASE-5548-v3.patch
>
>
> Currently, all the commands that operate on a table in the shell first have
> to take the table as name as input.
> There are two main considerations:
> * It is annoying to have to write the table name every time, when you should
> just be able to get a reference to a table
> * the current implementation is very wasteful - it creates a new HTable for
> each call (but reuses the connection since it uses the same configuration)
> We should be able to get a handle to a single HTable and then operate on that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira