@Before
  public void before() throws Exception {
    // Make sure testDir is on LocalFileSystem
    this.fs = FileSystem.getLocal(this.testUtil.getConfiguration());
    this.testDir = TestExportSnapshotV1NoCluster.setup(this.fs, this.testUtil);
    LOG.info("fs={}, testDir={}", this.fs, this.testDir);
    assertTrue("FileSystem '" + fs + "' is not local", fs instanceof LocalFileSystem);
  }
Test Export Snapshot Tool; tests v2 snapshots.
@see TestExportSnapshotV1NoCluster
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotV2NoCluster.java