-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29683 Failed to execute hbase shell command: compact 't1', 'f1', 'MOB'
#7410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| } | ||
| if (locations == null || locations.isEmpty()) { | ||
| future.completeExceptionally(new TableNotFoundException(tableName)); | ||
| return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In here, return early to prevent further execution when locations is null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a separated bug? We can fix this first?
| }); | ||
| List<ColumnFamilyDescriptor> mobColumnFamilies = | ||
| Arrays.stream(tableDesc.getColumnFamilies()) | ||
| .filter(ColumnFamilyDescriptor::isMobEnabled).toList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think toList is available in java 8?
| future.complete(null); | ||
| return; | ||
| } | ||
| if (columnFamily == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems here we added bunch of code related to MOB feature? What is the implementation on branch-2 for sync HBaseAdmin?
| } | ||
| if (locations == null || locations.isEmpty()) { | ||
| future.completeExceptionally(new TableNotFoundException(tableName)); | ||
| return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a separated bug? We can fix this first?
Details see: HBASE-29683