private void logScript() throws IOException {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Going to invoke file that contains:");
        try (BufferedReader reader = new BufferedReader(new FileReader(sqlScriptFile))) {
          String line;
          while ((line = reader.readLine()) != null) {
            LOG.debug("script: " + line);
          }
        }
      }
    }
Execute a given metastore script. This default version uses sqlline to execute the files,
which requires only running one file.  Subclasses can use other executors.
@param scriptDir directory script is in
@param scriptFile file in the directory to run
@throws IOException if it cannot read the file or directory
@throws HiveMetaException default implementation never throws this
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/MetastoreSchemaTool.java