private Pair<Path, Path> splitStoreFile(HRegionFileSystem regionFs, TableDescriptor htd,
    ColumnFamilyDescriptor hcd, HStoreFile sf) throws IOException {
    if (LOG.isDebugEnabled()) {
      LOG.debug("pid=" + getProcId() + " splitting started for store file: " + sf.getPath()
        + " for region: " + getParentRegion().getShortNameToLog());
    }

    final byte[] splitRow = getSplitRow();
    final String familyName = hcd.getNameAsString();
    StoreFileTracker daughterOneSft =
      StoreFileTrackerFactory.create(regionFs.getFileSystem().getConf(), htd, hcd,
        HRegionFileSystem.create(regionFs.getFileSystem().getConf(), regionFs.getFileSystem(),
          regionFs.getTableDir(), daughterOneRI));
    StoreFileTracker daughterTwoSft =
      StoreFileTrackerFactory.create(regionFs.getFileSystem().getConf(), htd, hcd,
        HRegionFileSystem.create(regionFs.getFileSystem().getConf(), regionFs.getFileSystem(),
          regionFs.getTableDir(), daughterTwoRI));
    final Path path_first = regionFs.splitStoreFile(this.daughterOneRI, familyName, sf, splitRow,
      false, splitPolicy, daughterOneSft);
    final Path path_second = regionFs.splitStoreFile(this.daughterTwoRI, familyName, sf, splitRow,
      true, splitPolicy, daughterTwoSft);
    if (LOG.isDebugEnabled()) {
      LOG.debug("pid=" + getProcId() + " splitting complete for store file: " + sf.getPath()
        + " for region: " + getParentRegion().getShortNameToLog());
    }
    return new Pair<Path, Path>(path_first, path_second);
  }
Create Split directory
@param env MasterProcedureEnv
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java