public static Path createPath(final TableName table, final String region, final String family,
    final String hfile) {
    if (HFileLink.isHFileLink(hfile)) {
      return new Path(family, hfile);
    }
    return new Path(family, HFileLink.createHFileLinkName(table, region, hfile));
  }
Create an HFileLink relative path for the table/region/family/hfile location
@param table  Table name
@param region Region Name
@param family Family Name
@param hfile  HFile Name
@return the relative Path to open the specified table/region/family/hfile link
hbase-server/src/main/java/org/apache/hadoop/hbase/io/HFileLink.java