关闭hbase的Hlog从而提高写入速度

跳过写入Hlog,提高写入速度

  Put put = new Put(Bytes.toBytes(k2.toString()));  
  put.setDurability(Durability.SKIP_WAL);

猜你喜欢

转载自blog.csdn.net/qq_34896163/article/details/85253837