@Test(expected = IllegalArgumentException.class)
  public void testNoRoomToOverflowBucketId() {
    BucketCodec.getCodec(1).encode(new AcidOutputFormat
            .Options(null)
            .bucket(65536)
            .statementId(1)
            .maxStmtId(150));   //   000010010110
  }
Test Bucket Codec version 1. Represents format of "bucket" property in Hive
3.0.
ql/src/test/org/apache/hadoop/hive/ql/io/TestBucketCodec.java