private static String[] getVersionComponents(final HBaseProtos.VersionInfo versionInfo) {
    return versionInfo.getVersion().split("[\\.-]");
  }
Returns the version components Examples: "1.4.3" returns [1, 4, 3], "4.5.6-SNAPSHOT" returns
[4, 5, 6, "SNAPSHOT"]
@return the components of the version string
hbase-server/src/main/java/org/apache/hadoop/hbase/client/VersionInfoUtil.java