protected void verifyNotStarted() {
    if (isStarted()) {
      throw new IllegalStateException("HiveServer2 already running");
    }
  }
Set http service port #
@param portNum
itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/AbstractHiveService.java