Monday, August 25, 2014

HBase : Unix/Shell Script File for Creating,Putting/Disabling/Droping tables and Inserting bulk load of datasets from Hadoop HDFS

#!/bin/bash # Declaring Variables table0="employee" path=$(pwd); # Creating a Employee table in HBase echo "exists '$table0'" | hbase shell > log cat log | grep "Table employee does exist" if [ $? = 0 ];then     echo "************  table is already exists **********" # Either...