public static void checkVersion(FileSystem fs, Path rootdir, boolean message)
    throws IOException, DeserializationException {
    checkVersion(fs, rootdir, message, 0, HConstants.DEFAULT_VERSION_FILE_WRITE_ATTEMPTS);
  }
Verifies current version of file system
@param fs      file system
@param rootdir root directory of HBase installation
@param message if true, issues a message on System.out
@throws IOException              if the version file cannot be opened
@throws DeserializationException if the contents of the version file cannot be parsed
hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java