@SafeVarargs
  public static Server startServer(
          Logger logger,
          Configuration conf,
          Function<Configuration, ServletServerBuilder.Descriptor>... describe) {
    return Objects.requireNonNull(builder(conf, describe)).start(logger);
  }
Helper for generic use case.

@param logger   the logger
@param conf     the configuration
@param describe the functions to create descriptors
@return a server instance
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ServletServerBuilder.java