You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ben West (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 16:09:39 UTC
[jira] [Created] (HBASE-5592) Make it easier to get a table from
shell
Make it easier to get a table from shell
----------------------------------------
Key: HBASE-5592
URL: https://issues.apache.org/jira/browse/HBASE-5592
Project: HBase
Issue Type: Improvement
Components: shell
Affects Versions: 0.94.0
Reporter: Ben West
Assignee: Ben West
Priority: Trivial
Fix For: 0.94.0
Attachments: publicTable.patch
The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
{code}foo_table = @shell.hbase_table('foo').table{code}
Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Resolved] (HBASE-5592) Make it easier to get a table from
shell
Posted by "stack (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-5592.
--------------------------
Resolution: Fixed
Fix Version/s: 0.92.2
Hadoop Flags: Reviewed
Committed trunk, 0.94, and 0.92 branches. Thanks for the patch Ben.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232677#comment-13232677 ]
Jesse Yates commented on HBASE-5592:
------------------------------------
Thanks for taking a look Ben (and being cool with the reversion).
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Resolved] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Lars Hofhansl (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl resolved HBASE-5592.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.92.2)
(was: 0.94.0)
0.96.0
Made versions reflect the comments. Closing this issue.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Updated] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Ben West (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben West updated HBASE-5592:
----------------------------
Attachment: publicTable.patch
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Ben West (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232600#comment-13232600 ]
Ben West commented on HBASE-5592:
---------------------------------
I would prefer HBASE-5548 as well. Fine with closing this.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Reopened] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Ted Yu (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu reopened HBASE-5592:
---------------------------
Jesse and I object to this going into 0.92
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231602#comment-13231602 ]
Hudson commented on HBASE-5592:
-------------------------------
Integrated in HBase-0.94 #35 (See [https://builds.apache.org/job/HBase-0.94/35/])
HBASE-5592 Make it easier to get a table from shell (Revision 1301716)
Result = SUCCESS
stack :
Files :
* /hbase/branches/0.94/src/main/ruby/hbase/table.rb
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231741#comment-13231741 ]
Zhihong Yu commented on HBASE-5592:
-----------------------------------
This is an improvement, right ?
Should it go into 0.92 which becomes stable release ?
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231694#comment-13231694 ]
Hudson commented on HBASE-5592:
-------------------------------
Integrated in HBase-TRUNK #2686 (See [https://builds.apache.org/job/HBase-TRUNK/2686/])
HBASE-5592 Make it easier to get a table from shell (Revision 1301715)
Result = SUCCESS
stack :
Files :
* /hbase/trunk/src/main/ruby/hbase/table.rb
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231707#comment-13231707 ]
Jesse Yates commented on HBASE-5592:
------------------------------------
Oh, btw my issue with this patch is that it requires a knowledge much deeper than previously required to get a reference to the table and breaks the current paradigm of using the simple, one-word commands. Also, the table obtained this way isn't going to have any of the nice formatting we are all used to (a little superfluous, but nice smile).
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231674#comment-13231674 ]
Hudson commented on HBASE-5592:
-------------------------------
Integrated in HBase-0.92 #324 (See [https://builds.apache.org/job/HBase-0.92/324/])
HBASE-5592 Make it easier to get a table from shell (Revision 1301717)
Result = FAILURE
stack :
Files :
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/ruby/hbase/table.rb
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231580#comment-13231580 ]
Jesse Yates commented on HBASE-5592:
------------------------------------
This is a duplicate of 5548 and a worse way to go about it. Prefer to revert this and go with the impl in 5548 (a little biased here, as I'm working on 5548).
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231704#comment-13231704 ]
Jesse Yates commented on HBASE-5592:
------------------------------------
They aren't going to interfere, just don't see the point of having Ben's when 5548 goes in. I can revert his change when doing the commit on mine, but that seems a bit roundabout to me ;)
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231857#comment-13231857 ]
Hudson commented on HBASE-5592:
-------------------------------
Integrated in HBase-TRUNK-security #140 (See [https://builds.apache.org/job/HBase-TRUNK-security/140/])
HBASE-5592 Make it easier to get a table from shell (Revision 1301715)
Result = SUCCESS
stack :
Files :
* /hbase/trunk/src/main/ruby/hbase/table.rb
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Updated] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl updated HBASE-5592:
---------------------------------
Fix Version/s: 0.94.0
0.92.2
Oh right. It was commited to 0.92, 0.94, and trunk.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0, 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Issue Comment Edited] (HBASE-5592) Make it easier to get a
table from shell
Posted by "Lars Hofhansl (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234986#comment-13234986 ]
Lars Hofhansl edited comment on HBASE-5592 at 3/21/12 8:26 PM:
---------------------------------------------------------------
Let's just mark this one fixed.
Jesse will revert with his changes (in 0.94+) if necessary.
was (Author: lhofhansl):
Let's just mark this one fix.
Jesse will revert with his changes (in 0.94+) if necessary.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0, 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Resolved] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Lars Hofhansl (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl resolved HBASE-5592.
----------------------------------
Resolution: Fixed
Let's just mark this one fix.
Jesse will revert with his changes (in 0.94+) if necessary.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0, 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231700#comment-13231700 ]
stack commented on HBASE-5592:
------------------------------
I can revert. Would be interested in Bens' opinion first.
What if we left this in 0.92 and did your version in 0.94+ Jesse? Do they interfere?
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.92.2, 0.94.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Reopened] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Zhihong Yu (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu reopened HBASE-5592:
-------------------------------
The reversion didn't happen, right ?
This would be in conflict with Jesse's current work.
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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
[jira] [Commented] (HBASE-5592) Make it easier to get a table from
shell
Posted by "Jesse Yates (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234980#comment-13234980 ]
Jesse Yates commented on HBASE-5592:
------------------------------------
It wouldn't conflict necessarily, as I can just revert it in the next version - the one liner is not a big deal :)
> Make it easier to get a table from shell
> ----------------------------------------
>
> Key: HBASE-5592
> URL: https://issues.apache.org/jira/browse/HBASE-5592
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Affects Versions: 0.94.0
> Reporter: Ben West
> Assignee: Ben West
> Priority: Trivial
> Labels: shell
> Fix For: 0.96.0
>
> Attachments: publicTable.patch
>
>
> The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts.
> This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing
> {code}foo_table = @shell.hbase_table('foo').table{code}
> Basically, it is changing table to be a public member rather than a private one.
--
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