HBase
  1. HBase
  2. HBASE-5592

Make it easier to get a table from shell

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: shell
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      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

      foo_table = @shell.hbase_table('foo').table

      Basically, it is changing table to be a public member rather than a private one.

        Activity

        Lars Hofhansl made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Lars Hofhansl made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Ted Yu made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Lars Hofhansl made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Resolution Fixed [ 1 ]
        Ted Yu made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        stack made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Resolution Fixed [ 1 ]
        Ben West made changes -
        Field Original Value New Value
        Attachment publicTable.patch [ 12518679 ]
        Ben West created issue -

          People

          • Assignee:
            Ben West
            Reporter:
            Ben West
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development