@Before
  public void setUp() throws Exception {
    TableDescriptor htd =
      TableDescriptorBuilder.newBuilder(TableName.valueOf("TestQualifierFilter"))
        .setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(FAMILY).build()).build();
    RegionInfo info = RegionInfoBuilder.newBuilder(htd.getTableName()).build();
    this.region = HBaseTestingUtil.createRegionAndWAL(info, TEST_UTIL.getDataTestDir(),
      TEST_UTIL.getConfiguration(), htd);

    // Insert data
    for (byte[] ROW : ROWS) {
      Put p = new Put(ROW);
      p.setDurability(Durability.SKIP_WAL);
      for (byte[] QUALIFIER : QUALIFIERS) {
        p.addColumn(FAMILY, QUALIFIER, VALUE);
      }
      this.region.put(p);
    }

    // Flush
    this.region.flush(true);
  }
Test qualifierFilter with empty qualifier column
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestQualifierFilterWithEmptyQualifier.java