[jira] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14151212#comment-14151212 ] Hudson commented on HBASE-5525: --- SUCCESS: Integrated in HBase-0.94-security #540 (See [https://builds.apache.org/job/HBase-0.94-security/540/]) HBASE-12113 Backport to 0.94: HBASE-5525 Truncate and preserve region boundaries option. (Sean Busbey, original patch by Kevin Odell) (larsh: rev ec6ea58df0361cb3f8bb62ed8a55240032957b8c) * src/main/ruby/shell/commands/truncate_preserve.rb * src/main/ruby/shell.rb * src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Fix For: 0.95.1 Attachments: HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch, HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14151217#comment-14151217 ] Hudson commented on HBASE-5525: --- SUCCESS: Integrated in HBase-0.94 #1424 (See [https://builds.apache.org/job/HBase-0.94/1424/]) HBASE-12113 Backport to 0.94: HBASE-5525 Truncate and preserve region boundaries option. (Sean Busbey, original patch by Kevin Odell) (larsh: rev ec6ea58df0361cb3f8bb62ed8a55240032957b8c) * src/main/ruby/hbase/admin.rb * src/main/ruby/shell/commands/truncate_preserve.rb * src/main/ruby/shell.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Fix For: 0.95.1 Attachments: HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch, HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14151222#comment-14151222 ] Hudson commented on HBASE-5525: --- SUCCESS: Integrated in HBase-0.94-JDK7 #194 (See [https://builds.apache.org/job/HBase-0.94-JDK7/194/]) HBASE-12113 Backport to 0.94: HBASE-5525 Truncate and preserve region boundaries option. (Sean Busbey, original patch by Kevin Odell) (larsh: rev ec6ea58df0361cb3f8bb62ed8a55240032957b8c) * src/main/ruby/shell/commands/truncate_preserve.rb * src/main/ruby/shell.rb * src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Fix For: 0.95.1 Attachments: HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch, HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650571#comment-13650571 ] stack commented on HBASE-5525: -- Committed addendum after poke by jd. Thanks for addition [~jmspaggi] Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650826#comment-13650826 ] Hudson commented on HBASE-5525: --- Integrated in hbase-0.95 #179 (See [https://builds.apache.org/job/hbase-0.95/179/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1479779) Result = SUCCESS stack : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650831#comment-13650831 ] Hudson commented on HBASE-5525: --- Integrated in HBase-TRUNK #4100 (See [https://builds.apache.org/job/HBase-TRUNK/4100/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1479778) Result = FAILURE stack : Files : * /hbase/trunk/hbase-server/src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650865#comment-13650865 ] Hudson commented on HBASE-5525: --- Integrated in hbase-0.95-on-hadoop2 #89 (See [https://builds.apache.org/job/hbase-0.95-on-hadoop2/89/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1479779) Result = FAILURE stack : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13650916#comment-13650916 ] Hudson commented on HBASE-5525: --- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #518 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/518/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1479778) Result = FAILURE stack : Files : * /hbase/trunk/hbase-server/src/main/ruby/hbase/admin.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.95.2 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk-addendum.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621855#comment-13621855 ] Hudson commented on HBASE-5525: --- Integrated in hbase-0.95 #122 (See [https://builds.apache.org/job/hbase-0.95/122/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1464291) Result = FAILURE stack : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/hbase/admin.rb * /hbase/branches/0.95/hbase-server/src/main/ruby/shell.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621888#comment-13621888 ] rajeshbabu commented on HBASE-5525: --- @stack, truncate_preserve.rb(new file) in the patch is not committed by mistake. In some QA TestShell is failing {code} Tests in error: testRunShellTests(org.apache.hadoop.hbase.client.TestShell): (LoadError) no such file to load -- shell/commands/truncate_preserve {code} Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621941#comment-13621941 ] Hudson commented on HBASE-5525: --- Integrated in HBase-TRUNK #4011 (See [https://builds.apache.org/job/HBase-TRUNK/4011/]) HBASE-5525 Truncate and preserve region boundaries option (Revision 1464290) Result = FAILURE stack : Files : * /hbase/trunk/hbase-server/src/main/ruby/hbase/admin.rb * /hbase/trunk/hbase-server/src/main/ruby/shell.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622008#comment-13622008 ] Matteo Bertozzi commented on HBASE-5525: The shell is now broken in 95/trunk hbase-server/src/main/ruby/shell/commands/truncate_preserve.rb was not added to the repo. I'll commit that. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622053#comment-13622053 ] Jean-Marc Spaggiari commented on HBASE-5525: I tested it on 0.94 and it's working fine. Let me know if you are experiencing any issue with the patch applied. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622071#comment-13622071 ] Matteo Bertozzi commented on HBASE-5525: I've committed the missing file in trunk and 95, so the shell should work again. [~jmspaggi] I don't see this patch in 94 yet, it should be backported? Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622075#comment-13622075 ] Hudson commented on HBASE-5525: --- Integrated in HBase-TRUNK #4012 (See [https://builds.apache.org/job/HBase-TRUNK/4012/]) HBASE-5525 Truncate and preserve region boundaries option, addendum (Revision 1464425) Result = FAILURE mbertozzi : Files : * /hbase/trunk/hbase-server/src/main/ruby/shell/commands/truncate_preserve.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622077#comment-13622077 ] Jean-Marc Spaggiari commented on HBASE-5525: [~mbertozzi], I applied it locally to test it and it works fine. Patch for 0.94 is already attached. It's a very simple patch and useful for testing. So I think it should be applied to 0.94 too. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622082#comment-13622082 ] Hudson commented on HBASE-5525: --- Integrated in hbase-0.95 #123 (See [https://builds.apache.org/job/hbase-0.95/123/]) HBASE-5525 Truncate and preserve region boundaries option, addendum (Revision 1464426) Result = FAILURE mbertozzi : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/shell/commands/truncate_preserve.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622130#comment-13622130 ] Hudson commented on HBASE-5525: --- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #476 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/476/]) HBASE-5525 Truncate and preserve region boundaries option, addendum (Revision 1464425) HBASE-5525 Truncate and preserve region boundaries option (Revision 1464290) Result = FAILURE mbertozzi : Files : * /hbase/trunk/hbase-server/src/main/ruby/shell/commands/truncate_preserve.rb stack : Files : * /hbase/trunk/hbase-server/src/main/ruby/hbase/admin.rb * /hbase/trunk/hbase-server/src/main/ruby/shell.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622176#comment-13622176 ] Hudson commented on HBASE-5525: --- Integrated in hbase-0.95-on-hadoop2 #54 (See [https://builds.apache.org/job/hbase-0.95-on-hadoop2/54/]) HBASE-5525 Truncate and preserve region boundaries option, addendum (Revision 1464426) HBASE-5525 Truncate and preserve region boundaries option (Revision 1464291) Result = FAILURE mbertozzi : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/shell/commands/truncate_preserve.rb stack : Files : * /hbase/branches/0.95/hbase-server/src/main/ruby/hbase/admin.rb * /hbase/branches/0.95/hbase-server/src/main/ruby/shell.rb Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622428#comment-13622428 ] stack commented on HBASE-5525: -- Thanks lads for fixing my messup (just noticed missing file this morning but see you lot took care of it -- thanks) Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622440#comment-13622440 ] Ricky Saltzer commented on HBASE-5525: -- Hey Guys - Is this patch using a deprecated API call? I was under the impression that getRegionsInfo() was deprecated and we should now use getRegionLocations() Line in question {noformat} splits = h_table.getRegionsInfo().keys().map{|i| Bytes.toString(i.getStartKey)}.delete_if{|k| k == }.to_java :String {noformat} Deprecated here - https://hbase.apache.org/0.94/apidocs/org/apache/hadoop/hbase/client/HTable.html#getRegionsInfo() Missing here - https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.html Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622451#comment-13622451 ] Jean-Marc Spaggiari commented on HBASE-5525: Good catch. I just tried the same patch by replacing getRegionsInfo by getRegionLocations and it's working fine. [~stack], do you want me to update the attached patchs? Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622467#comment-13622467 ] stack commented on HBASE-5525: -- [~jmspaggi] Yes please. An addendum would be dandy. [~rickysaltzer] Good catch boss. Thanks. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621615#comment-13621615 ] Jean-Marc Spaggiari commented on HBASE-5525: Any chance to get it rebased and applied to 0.95? Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621747#comment-13621747 ] Hadoop QA commented on HBASE-5525: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12576911/HBASE-5525-v1-trunk.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 hadoop2.0{color}. The patch compiles against the hadoop 2.0 profile. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 lineLengths{color}. The patch introduces lines longer than 100 {color:green}+1 site{color}. The mvn site goal succeeds with this patch. {color:green}+1 core tests{color}. The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/5128//console This message is automatically generated. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.95.1 Attachments: HBASE-5525.patch, HBASE-5525-v1-0.94.patch, HBASE-5525-v1-0.95.patch, HBASE-5525-v1-trunk.patch, HBASE-5525-v1-trunk.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13478248#comment-13478248 ] Gregory Chanan commented on HBASE-5525: --- Looks pretty good. Maybe truncate_preservebounds instead of truncate_preserve (so it is clear what you are preserving)? Or make preserve a parameter to truncate, default false? (the later would be my personal preference). Also, you could avoid duplicating some code if you had truncate and truncate_preserve call a common function (or just have preserve be a parameter to truncate, as above). Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.96.0 Attachments: HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13478283#comment-13478283 ] Ricky Saltzer commented on HBASE-5525: -- Would it make more sense to have one truncate command, and have an optional parameter which preserves the truncate? Rather than having a separate command for truncating and truncating while preserving region keys? Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.96.0 Attachments: HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13478289#comment-13478289 ] Ricky Saltzer commented on HBASE-5525: -- +1 Greg, something like would be great, also updating the docs to reflect what {noformat} truncate 'users_table', {PRESERVE = true} {noformat} Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.96.0 Attachments: HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13472967#comment-13472967 ] Hadoop QA commented on HBASE-5525: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12548513/HBASE-5525.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 hadoop2.0{color}. The patch compiles against the hadoop 2.0 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 81 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 findbugs{color}. The patch appears to introduce 5 new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.client.TestFromClientSide Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3025//console This message is automatically generated. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Affects Versions: 0.96.0 Reporter: Jean-Daniel Cryans Assignee: Kevin Odell Labels: newbie, noob Fix For: 0.96.0 Attachments: HBASE-5525.patch A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- 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] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13226649#comment-13226649 ] stack commented on HBASE-5525: -- Disable table, remove all content from fs under the table's dir, then reenable? Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Reporter: Jean-Daniel Cryans Fix For: 0.96.0 A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-5525) Truncate and preserve region boundaries option
[ https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13226651#comment-13226651 ] Jean-Daniel Cryans commented on HBASE-5525: --- Sounds like a plan, if by remove all content from fs under the table's dir you mean under the table's regions' dir. Truncate and preserve region boundaries option -- Key: HBASE-5525 URL: https://issues.apache.org/jira/browse/HBASE-5525 Project: HBase Issue Type: New Feature Reporter: Jean-Daniel Cryans Fix For: 0.96.0 A tool that would be useful for testing (and maybe in prod too) would be a truncate option to keep the current region boundaries. Right now what you have to do is completely kill the table and recreate it with the correct regions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira