wchevreuil commented on a change in pull request #18: HBASE-22567 - HBCK2
addMissingRegionsToMeta
URL:
https://github.com/apache/hbase-operator-tools/pull/18#discussion_r319951473
##########
File path: hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
##########
@@ -440,51 +602,68 @@ public int run(String[] args) throws IOException {
String[] commands = commandLine.getArgs();
String command = commands[0];
switch (command) {
- case SET_TABLE_STATE:
- if (commands.length < 3) {
- usage(options, command + " takes tablename and state arguments: e.g.
user ENABLED");
- return EXIT_FAILURE;
- }
- System.out.println(setTableState(TableName.valueOf(commands[1]),
- TableState.State.valueOf(commands[2])));
- break;
-
- case ASSIGNS:
- if (commands.length < 2) {
- usage(options, command + " takes one or more encoded region names");
- return EXIT_FAILURE;
- }
- System.out.println(assigns(purgeFirst(commands)));
- break;
+ case SET_TABLE_STATE:
Review comment:
Yeah, this is probably unintentional while resolving conflicts.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services