private void createRemoteDirs(HiveConf conf) {
    // Create remote dirs once.
    if (getMr() != null) {
      assert fs != null;
      Path warehousePath = fs.makeQualified(new Path(conf.getVar(ConfVars.METASTORE_WAREHOUSE)));
      assert warehousePath != null;
      Path hiveJarPath = fs.makeQualified(new Path(conf.getVar(ConfVars.HIVE_JAR_DIRECTORY)));
      assert hiveJarPath != null;
      Path userInstallPath =
          fs.makeQualified(new Path(conf.getVar(ConfVars.HIVE_USER_INSTALL_DIR)));
      assert userInstallPath != null;
      try {
        fs.mkdirs(warehousePath);
      } catch (IOException e) {
        LOG.error("Failed to create path={}. Continuing. Exception message={}", warehousePath,
            e.getMessage());
      }
      try {
        fs.mkdirs(hiveJarPath);
      } catch (IOException e) {
        LOG.error("Failed to create path={}. Continuing. Exception message={}", warehousePath,
            e.getMessage());
      }
      try {
        fs.mkdirs(userInstallPath);
      } catch (IOException e) {
        LOG.error("Failed to create path={}. Continuing. Exception message={}", warehousePath,
            e.getMessage());
      }
    }
  }
Should deleted test tables have their data purged.

@return true if data should be purged
itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestMiniClusters.java