Writing HBase shell scripts

We can write a set of commands in a file and run it as:

hbase shell <path_to_script/scriptname>

Alternatively, we can write it as follows:

hbase org.jruby.Main <path_to_script/scriptname>

HBase shell might contain all the available HBase shell commands. Also, we can write a Linux shell command embedded with HBase commands.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.26.22