public static void main(String[] args) throws IOException {
   // TODO Auto-generated method stub
   @SuppressWarnings("deprecation")
   HBaseConfiguration conf = new HBaseConfiguration();
   conf.addResource("/usr/local/hbase-0.98.2/conf/hbase-site.xml");
   conf.set("hbase.master", "localhost:60000");
   CreateTable(conf);
   SeedData(conf);
 }
 @Override
 public int connectNode(String nodeAddress) {
   int ret;
   config = new HBaseConfiguration();
   // You should replace this with the proper hbase configuration file
   config.addResource("/home/alesuiss/hbase-0.20.6/conf/hbase-site.xml");
   try {
     table = new HTable(config, "myTable");
     ret = 1;
   } catch (IOException e) {
     e.printStackTrace();
     ret = -1;
   }
   return ret;
 }