public void run() throws HiveSQLException {
    beforeRun();
    try {
      Metrics metrics = MetricsFactory.getInstance();
      if (metrics != null) {
        metrics.incrementCounter(MetricsConstant.OPEN_OPERATIONS);
      }
      runInternal();
    } finally {
      afterRun();
    }
  }
Implemented by subclass of Operation class to execute specific behaviors.
@throws HiveSQLException
service/src/java/org/apache/hive/service/cli/operation/Operation.java