[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-27 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15526826#comment-15526826 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-0.98-on-Hadoop-1.1 #1277 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524882#comment-15524882 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.4 #432 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524804#comment-15524804 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.3-JDK8 #24 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524799#comment-15524799 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.2-JDK8 #30 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524798#comment-15524798 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.2-JDK7 #33 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524685#comment-15524685 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.3-JDK7 #23 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524616#comment-15524616 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.1-JDK8 #1871 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524575#comment-15524575 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-1.1-JDK7 #1787 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15524530#comment-15524530 ] Hudson commented on HBASE-16649: FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #1679 (See

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-26 Thread Stephen Yuan Jiang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15523740#comment-15523740 ] Stephen Yuan Jiang commented on HBASE-16649: +1. V2 looks good to me. (The only thing I am

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Allan Yang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505639#comment-15505639 ] Allan Yang commented on HBASE-16649: I mean add the line

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505548#comment-15505548 ] Hadoop QA commented on HBASE-16649: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505298#comment-15505298 ] Duo Zhang commented on HBASE-16649: --- Theoretically this should not happen? I mean a smaller flush

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505293#comment-15505293 ] Duo Zhang commented on HBASE-16649: --- {code} private static List recreteRegionInfo(final List regions)

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505189#comment-15505189 ] Hadoop QA commented on HBASE-16649: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Matteo Bertozzi (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503964#comment-15503964 ] Matteo Bertozzi commented on HBASE-16649: - let's open another jira to discuss this. since it

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Matteo Bertozzi (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503717#comment-15503717 ] Matteo Bertozzi commented on HBASE-16649: - table delete, table truncate, catalog janitor when

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-19 Thread Allan Yang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502490#comment-15502490 ] Allan Yang commented on HBASE-16649: Another thing is that we should change the seqid in master even

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Ted Yu (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502238#comment-15502238 ] Ted Yu commented on HBASE-16649: When is the obsolete region taken off storeFlushedSequenceIdsByRegion ?

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Matteo Bertozzi (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502168#comment-15502168 ] Matteo Bertozzi commented on HBASE-16649: - what do you mean? I'm not sure to understand the

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Ted Yu (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502157#comment-15502157 ] Ted Yu commented on HBASE-16649: Shouldn't data structures involving the obsolete region info be cleaned

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Allan Yang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501944#comment-15501944 ] Allan Yang commented on HBASE-16649: Your patch is exactly what I want to do! > Truncate table with

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Matteo Bertozzi (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501315#comment-15501315 ] Matteo Bertozzi commented on HBASE-16649: - current implementation we drop the fs dirs, and

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Ted Yu (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501245#comment-15501245 ] Ted Yu commented on HBASE-16649: That would be slower compared to the current implementation (with bugs

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Allan Yang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501192#comment-15501192 ] Allan Yang commented on HBASE-16649: I have another thought, can we change the region's encoded name

[jira] [Commented] (HBASE-16649) Truncate table with splits preserved can cause both data loss and truncated data appeared again

2016-09-18 Thread Ted Yu (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15501182#comment-15501182 ] Ted Yu commented on HBASE-16649: For #2, the region's sequenceid's should be reset in master. Do you