modified and clear for merge to dianping/wormhole-for-hbase