Example #1
0
 /// <summary>
 /// Insert rows values in HBase table
 /// </summary>
 /// <param name="host">host name of running HBase rest server</param>
 /// <param name="port">port number</param>
 /// <param name="rowKey">HBase table row value</param>
 /// <param name="columnFamily">column name</param>
 /// <param name="cellValue">cell value</param>
 private static void HbaseTableInsertRow(string host, int port, string rowKey, string columnFamily, string cellValue)
 {
     ////For Azure basic Authentication cluster -> HBaseOperation.InsertRow("https://" + host + ":" + port + "/", rowKey,"Customer" ,"Info", columnFamily, cellValue, userName, password);
     ////For Secured Cluster -> HBaseOperation.InsertRow("https://" + host + ":" + port + "/", rowKey,"Customer" ,"Info", columnFamily, cellValue, userName, password);
     HBaseOperation.InsertRow("http://" + host + ":" + port + "/", rowKey, "Customer", "Info", columnFamily, cellValue);
 }