[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh updated HBASE-7365: -- Issue Type: Sub-task (was: Improvement) Parent: HBASE-6055 Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Sub-task Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: 7365-v4.patch, HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh updated HBASE-7365: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Moved to be a subissue of hbase-6055 since it is committed there and resolving. Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Sub-task Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: 7365-v4.patch, HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh updated HBASE-7365: -- Fix Version/s: (was: 0.96.0) hbase-6055 Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Sub-task Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: hbase-6055 Attachments: 7365-v4.patch, HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-7365: -- Attachment: 7365-v4.patch Patch v4 is rebased on trunk. Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: 7365-v4.patch, HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Status: Patch Available (was: Open) Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Status: Open (was: Patch Available) Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: HBASE-7365-v2.patch Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: (was: HBASE-7365-v2.patch) Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: HBASE-7365-v2.patch Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: HBASE-7365-v3.patch v3 fixes javadoc and lineLength issue Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch, HBASE-7365-v2.patch, HBASE-7365-v3.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: HBASE-7365-v1.patch Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch, HBASE-7365-v1.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Attachment: HBASE-7365-v0.patch Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-7365) Safer table creation and deletion using .tmp dir
[ https://issues.apache.org/jira/browse/HBASE-7365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-7365: --- Status: Patch Available (was: Open) Safer table creation and deletion using .tmp dir Key: HBASE-7365 URL: https://issues.apache.org/jira/browse/HBASE-7365 Project: HBase Issue Type: Improvement Components: master Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Fix For: 0.96.0 Attachments: HBASE-7365-v0.patch Currently tables are created in the root directory, and the removal works on the root directory. Change the code to use a /hbase/.tmp directory to make the creation and removal a bit safer Table Creation steps * Create the table descriptor (table folder, in /hbase/.tmp/) * Create the table regions (always in temp) * Move the table from temp to the root folder * Add the regions to meta * Trigger assignment * Set enable flag in ZooKeeper Table Deletion steps * Wait for regions in transition * Remove regions from meta (use bulk delete) * Move the table in /hbase/.tmp * Remove the table from the descriptor cache * Remove table from zookeeper * Archive the table The main changes in the current code are: * Writing to /hbase/.tmp and then rename * using bulk delete in DeletionTableHandler -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira