From 553d5db35565ce5c7bb7f08dfb35ed9422b6bafb Mon Sep 17 00:00:00 2001 From: Guanghao Zhang Date: Fri, 19 May 2017 18:31:32 +0800 Subject: [PATCH] HBASE-15616 (addendum) Allow null qualifier for all table operations --- .../main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java index 73ebebb5b50..3c551dfc54d 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableBase.java @@ -184,7 +184,6 @@ public interface AsyncTableBase { long amount, Durability durability) { Preconditions.checkNotNull(row, "row is null"); Preconditions.checkNotNull(family, "family is null"); - Preconditions.checkNotNull(qualifier, "qualifier is null"); return increment( new Increment(row).addColumn(family, qualifier, amount).setDurability(durability)) .thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));