-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29310 Handle Bulk Load Operations in Continuous Backup #7150
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
Changes from all commits
9ee1908
0dbf4cb
48ffcff
67c84f1
8046cc2
1796c61
f642f2d
f5ef04b
694511b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1195,6 +1195,11 @@ public int run(String[] args) throws Exception { | |||||||||
| public static void main(String[] args) throws Exception { | ||||||||||
| Configuration conf = HBaseConfiguration.create(); | ||||||||||
| int ret = ToolRunner.run(conf, new BulkLoadHFilesTool(conf), args); | ||||||||||
| if (ret == 0) { | ||||||||||
| System.out.println("Bulk load completed successfully."); | ||||||||||
| System.out.println("IMPORTANT: Please take a backup of the table immediately if this table " | ||||||||||
|
Comment on lines
+1199
to
+1200
|
||||||||||
| System.out.println("Bulk load completed successfully."); | |
| System.out.println("IMPORTANT: Please take a backup of the table immediately if this table " | |
| LOG.info("Bulk load completed successfully."); | |
| LOG.info("IMPORTANT: Please take a backup of the table immediately if this table " |
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 is not related, you can ignore it.
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.
Do you think this error message should be a little more descriptive? It is saying why there is an error, but it doesn't necessarily tell the user what they should be doing instead to prevent this error.
My understanding is the user is supposed to perform a full or incremental backup after doing a bulkload. To me, this function is detecting that a bulkload has occurred since the last backup, and it is correctly throwing an error. However, the message isn't telling the user they should do another backup after bulkloading in order to get around this error.