[ https://issues.apache.org/jira/browse/HBASE-21447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678247#comment-16678247 ]
Nicholas Jiang edited comment on HBASE-21447 at 11/7/18 2:00 PM: ----------------------------------------------------------------- [~tianjingyun] HBCK2 doesn't support 2.0.2 version, so I can't assign regions again through this tool.And problem is that the holes question can't be solved based on 2.0.1 or 2.0.2 version because these versions can't assign regions by HBCK2 tool.If I use HBCK2 tool, I must conside version upgrade unwilling. {code:java} private static final String MININUM_VERSION = "2.0.3"; static void checkVersion(final String versionStr) { if (versionStr.startsWith(TWO_POINT_ONE)) { throw new UnsupportedOperationException(TWO_POINT_ONE + " has no support for hbck2"); } if (VersionInfo.compareVersion(MININUM_VERSION, versionStr) > 0) { throw new UnsupportedOperationException("Requires " + MININUM_VERSION + " at least."); } }{code} was (Author: nicholasjiang): [~tianjingyun] HBCK2 doesn't support 2.0.2 version, so I can't assign regions again through this tool.And problem is that the holes question can't be solved based on 2.0.1 or 2.0.2 version because these versions can't assign regions by HBCK2 tool.If I use HBCK2 tool, I must conside version upgrade unwilling. {code:java} static void checkVersion(final String versionStr) { if (versionStr.startsWith(TWO_POINT_ONE)) { throw new UnsupportedOperationException(TWO_POINT_ONE + " has no support for hbck2"); } if (VersionInfo.compareVersion(MININUM_VERSION, versionStr) > 0) { throw new UnsupportedOperationException("Requires " + MININUM_VERSION + " at least."); } }{code} > HBCK2 tool have questions on holes when HBCK2 checks region chain > ------------------------------------------------------------------- > > Key: HBASE-21447 > URL: https://issues.apache.org/jira/browse/HBASE-21447 > Project: HBase > Issue Type: Improvement > Components: hbck2 > Affects Versions: 2.0.2 > Reporter: Nicholas Jiang > Priority: Major > Attachments: Hole.png > > > [hbck2]https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2 > This HBCK2 tool have some questions on holes when HBCK2 checks region chain > as follows. > {code:java} > ERROR: There is a hole in the region chain between \x01F\x00\x00 and > \x02\x8C\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between \x05\x18\x00\x00 and > \x06^\x00\x00. You need to create a new .regioninfo and region dir in hdfs to > plug the hole. > ERROR: There is a hole in the region chain between \x07\x01\x00\x00 and > \x07\xA4\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between \x08G\x00\x00 and > \x09\x8D\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between \x0A0\x00\x00 and > \x0Bv\x00\x00. You need to create a new .regioninfo and region dir in hdfs to > plug the hole. > ERROR: There is a hole in the region chain between \x0C\x19\x00\x00 and > \x0C\xBC\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between \x0D_\x00\x00 and > \x0E\xA5\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between \x0F\xEB\x00\x00 and > \x111\x00\x00. You need to create a new .regioninfo and region dir in hdfs to > plug the hole. > ERROR: There is a hole in the region chain between \x16I\x00\x00 and > \x16\xEC\x00\x00. You need to create a new .regioninfo and region dir in hdfs > to plug the hole. > ERROR: There is a hole in the region chain between (\xC0\x00\x00 and > *\x06\x00\x00. You need to create a new .regioninfo and region dir in hdfs to > plug the hole. > {code} > !Hole.png! > This hole problem can't be solved by HBCK2 tool. -- This message was sent by Atlassian JIRA (v7.6.3#76005)