Working with HBase Table Variables – Assign Table Name to jruby Variable

  • Post author:
  • Post last modified:February 28, 2018
  • Post category:BigData
  • Reading time:2 mins read

Apache HBase 0.95 allows you to assign table name to a jruby variable. This new feature allows you to save lot of time while working on table operations such as insert, read, delete data from table. In this article, we will discuss working with HBase table variables – assign table name to jruby variable with some examples.

Working with HBase Table Variables

Working with HBase Table Variables – Assign Table Name to jruby Variable

In earlier version, HBase shell commands takes table name as an argument. Apache HBase 0.95 version of HBase adds facility to assign table name to a jruby variable. You can use that variable in your subsequent table operations.

Related posts:

HBase Commands with Table Variables Examples

Below examples demonstrates usage of HBase table variables:

Next section explains you the usage of HBase shell commands without table variable.

HBase Commands without Table Variables Examples

In previous version of HBase, you would always specify table name as an argument to the shell commands.