@Parameters
  public static Collection<Object[]> getParameters() {
    Collection<Object[]> parameters = new ArrayList<>();
    for (ImplType implType : ImplType.values()) {
      for (boolean specifyFramed : new boolean[] { false, true }) {
        for (boolean specifyBindIP : new boolean[] { false, true }) {
          if (specifyBindIP && !implType.canSpecifyBindIP) {
            continue;
          }
          for (boolean specifyCompact : new boolean[] { false, true }) {
            parameters.add(new Object[] { implType, specifyFramed, specifyBindIP, specifyCompact });
          }
        }
      }
    }
    return parameters;
  }
Start the HBase Thrift server on a random port through the command-line interface and talk to it
from client side.
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java