mvn package
Copy target/flume-checkandput-hbase-sink-1.0.0.jar in Flume' classpath
hbaseagent.sinks.hbase_products.type = com.marketconnect.flume.sink.checkandputhbase.CheckandPutHBaseSink hbaseagent.sinks.hbase_products.table = products hbaseagent.sinks.hbase_products.columnFamily = cf hbaseagent.sinks.hbase_products.checkColName = price hbaseagent.sinks.hbase_products.checkColValue = 0 hbaseagent.sinks.hbase_products.zookeeperQuorum = prod-gra5-hadoop-masters-3.clic2buy.com:2181,prod-gra5-hadoop-masters-4.clic2buy.com:2181,prod-gra5-hadoop-queue-jobs-.clic2buy.com:2181 hbaseagent.sinks.hbase_products.znodeParent = /hbase hbaseagent.sinks.hbase_products.serializer = com.marketconnect.flume.serializer.TypeHbaseEventSerializer hbaseagent.sinks.hbase_products.serializer.colNames = price,unified_price,available,created_at hbaseagent.sinks.hbase_products.serializer.types = double,double,string,long hbaseagent.sinks.hbase_products.channel = mem_hbase_products hbaseagent.sinks.hbase_products.batchSize = 10
It will append the data to products if price == 0