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

        No work has yet been logged on this 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