public Builder withOutputDir(Path dir) {
      Preconditions.checkNotNull(dir);
      this.dir = dir;
      return this;
    }
Use either this method or {@link #withFilePath}, but not both.
@param dir Path to column family directory. The directory is created if does not exist. The
           file is given a unique name within this directory.
@return this (for chained invocation)
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileWriter.java