[ https://issues.apache.org/jira/browse/HBASE-18792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437276#comment-16437276 ]
Sean Busbey commented on HBASE-18792: ------------------------------------- {code:java} + /** + * Returns the version components as Integer and String objects + * Examples: "1.2.3" returns [1, 2, 3], "4.5.6-SNAPSHOT" returns [4, 5, 6, "SNAPSHOT"] + * @return the components of the version string + */ + public static Object[] getVersionComponents(final String version) {{code} VersionInfo is IA.Public, so any public methods become a part of our supported API. Can we make this method private? > hbase-2 needs to defend against hbck operations > ----------------------------------------------- > > Key: HBASE-18792 > URL: https://issues.apache.org/jira/browse/HBASE-18792 > Project: HBase > Issue Type: Task > Components: hbck > Reporter: stack > Assignee: Umesh Agashe > Priority: Blocker > Fix For: 2.0.0 > > Attachments: hbase-18792.master.001.patch > > > hbck needs updating to run against hbase2. Meantime, if an hbck from hbase1 > is run against hbck2, it may do damage. hbase2 should defend itself against > hbck1 ops. -- This message was sent by Atlassian JIRA (v7.6.3#76005)