@Deprecated
  public static Path getWrongWALRegionDir(final Configuration conf, final TableName tableName,
    final String encodedRegionName) throws IOException {
    Path wrongTableDir = new Path(new Path(getWALRootDir(conf), tableName.getNamespaceAsString()),
      tableName.getQualifierAsString());
    return new Path(wrongTableDir, encodedRegionName);
  }
For backward compatibility with HBASE-20734, where we store recovered edits in a wrong
directory without BASE_NAMESPACE_DIR. See HBASE-22617 for more details.
@deprecated For compatibility, will be removed in 4.0.0.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java