public static boolean isMetaFile(Path p) {
    return isMetaFile(p.getName());
  }
This function returns region server name from a log file name which is in one of the following
formats:
<ul>
<li>hdfs://&lt;name node&gt;/hbase/.logs/&lt;server name&gt;-splitting/...</li>
<li>hdfs://&lt;name node&gt;/hbase/.logs/&lt;server name&gt;/...</li>
</ul>
@return null if the passed in logFile isn't a valid WAL file path
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/AbstractFSWALProvider.java