public static void main(String[] args) {
		Configuration config = HBaseConfiguration.create();
		config.set("hbase.zookeeper.quorum", "bsa60005.os.amadeus.net");
		config.set("hbase.zookeeper.property.clientPort","2181");

		HBaseAdmin hbadmin = null;

		try {
			System.out.println("Test HBase availble");
			HBaseAdmin.checkHBaseAvailable(config);
			hbadmin = new HBaseAdmin(config);
		} catch (Exception e) {
			System.out.println("Test HBase availble");
			e.printStackTrace();
			System.exit(1);
		}

//		try {
//			HTableDescriptor[] tabdesc = hbadmin.listTables();
//
//			for (int i=0; i<tabdesc.length; i++) {
//				System.out.println("Table = " + tabdesc[i].toString());
//			}
//		} catch (IOException e) {
//			e.printStackTrace();
//		}
	}