@Test public void testGetStoreArchivePath() throws IOException { byte[] family = Bytes.toBytes("Family"); Path tabledir = FSUtils.getTableDir(rootDir, TableName.valueOf("table")); HRegionInfo region = new HRegionInfo(TableName.valueOf("table")); Configuration conf = new Configuration(); FSUtils.setRootDir(conf, new Path("root")); assertNotNull(HFileArchiveUtil.getStoreArchivePath(conf, region, tabledir, family)); }
public static Path getStoreArchivePath(final Configuration conf, final TableName tableName, final String regionName, final String familyName) throws IOException { Path tableArchiveDir = getTableArchivePath(conf, tableName); return HStore.getStoreHomedir(tableArchiveDir, regionName, Bytes.toBytes(familyName)); }
HFileArchiveUtil { public static Path getStoreArchivePath(final Configuration conf, final TableName tableName, final String regionName, final String familyName) throws IOException { Path tableArchiveDir = getTableArchivePath(conf, tableName); return HStore.getStoreHomedir(tableArchiveDir, regionName, Bytes.toBytes(familyName)); } }
HFileArchiveUtil { public static Path getStoreArchivePath(final Configuration conf, final TableName tableName, final String regionName, final String familyName) throws IOException { Path tableArchiveDir = getTableArchivePath(conf, tableName); return HStore.getStoreHomedir(tableArchiveDir, regionName, Bytes.toBytes(familyName)); } private  HFileArchiveUtil(); }
HFileArchiveUtil { public static Path getStoreArchivePath(final Configuration conf, final TableName tableName, final String regionName, final String familyName) throws IOException { Path tableArchiveDir = getTableArchivePath(conf, tableName); return HStore.getStoreHomedir(tableArchiveDir, regionName, Bytes.toBytes(familyName)); } private  HFileArchiveUtil(); static Path getStoreArchivePath(final Configuration conf,
                                         final TableName tableName,
      final String regionName, final String familyName); static Path getStoreArchivePath(Configuration conf,
                                         HRegionInfo region,
                                         Path tabledir,
      byte[] family); static Path getRegionArchiveDir(Path rootDir,
                                         TableName tableName,
                                         Path regiondir); static Path getRegionArchiveDir(Path rootDir,
                                         TableName tableName, String encodedRegionName); static Path getTableArchivePath(final Path rootdir, final TableName tableName); static Path getTableArchivePath(final Configuration conf,
                                         final TableName tableName); static Path getArchivePath(Configuration conf); }
HFileArchiveUtil { public static Path getStoreArchivePath(final Configuration conf, final TableName tableName, final String regionName, final String familyName) throws IOException { Path tableArchiveDir = getTableArchivePath(conf, tableName); return HStore.getStoreHomedir(tableArchiveDir, regionName, Bytes.toBytes(familyName)); } private  HFileArchiveUtil(); static Path getStoreArchivePath(final Configuration conf,
                                         final TableName tableName,
      final String regionName, final String familyName); static Path getStoreArchivePath(Configuration conf,
                                         HRegionInfo region,
                                         Path tabledir,
      byte[] family); static Path getRegionArchiveDir(Path rootDir,
                                         TableName tableName,
                                         Path regiondir); static Path getRegionArchiveDir(Path rootDir,
                                         TableName tableName, String encodedRegionName); static Path getTableArchivePath(final Path rootdir, final TableName tableName); static Path getTableArchivePath(final Configuration conf,
                                         final TableName tableName); static Path getArchivePath(Configuration conf);  }