[jira] [Updated] (HBASE-22632) SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store files for unknown column families

2019-08-13 Thread Duo Zhang (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-22632:
--
Fix Version/s: 2.1.6
   2.2.1
   2.0.6
   2.3.0
   3.0.0

> SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store 
> files for unknown column families
> 
>
> Key: HBASE-22632
> URL: https://issues.apache.org/jira/browse/HBASE-22632
> Project: HBase
>  Issue Type: Bug
>  Components: proc-v2
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.0.6, 2.2.1, 2.1.6
>
> Attachments: HBASE-22632-UT.patch
>
>
> Hit this problem in our internal staging cluster. Not sure why, but probably, 
> there was a partial successful 'alter table' call that removed a family. As 
> it is 'partial successful', there are still some stale store files of the 
> removed family left under the region directory. And in 
> SplitTableRegionProcedure and MergeTableRegionsProcedure, we will get all the 
> store files by listing the file system, so we will also get the stale store 
> files for the family which should have been removed already, and then causes 
> NPE when we want to access the ColumnFamilyDescriptor.
> Although it is not the common case that there are store files for removed 
> families, but FWIW, I think we can do something to make our procedures more 
> robust...



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (HBASE-22632) SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store files for unknown column families

2019-06-26 Thread Duo Zhang (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-22632:
--
Attachment: HBASE-22632-UT.patch

> SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store 
> files for unknown column families
> 
>
> Key: HBASE-22632
> URL: https://issues.apache.org/jira/browse/HBASE-22632
> Project: HBase
>  Issue Type: Bug
>  Components: proc-v2
>Reporter: Duo Zhang
>Priority: Major
> Attachments: HBASE-22632-UT.patch
>
>
> Hit this problem in our internal staging cluster. Not sure why, but probably, 
> there was a partial successful 'alter table' call that removed a family. As 
> it is 'partial successful', there are still some stale store files of the 
> removed family left under the region directory. And in 
> SplitTableRegionProcedure and MergeTableRegionsProcedure, we will get all the 
> store files by listing the file system, so we will also get the stale store 
> files for the family which should have been removed already, and then causes 
> NPE when we want to access the ColumnFamilyDescriptor.
> Although it is not the common case that there are store files for removed 
> families, but FWIW, I think we can do something to make our procedures more 
> robust...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-22632) SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store files for unknown column families

2019-06-26 Thread Duo Zhang (JIRA)


 [ 
https://issues.apache.org/jira/browse/HBASE-22632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-22632:
--
Description: 
Hit this problem in our internal staging cluster. Not sure why, but probably, 
there was a partial successful 'alter table' call that removed a family. As it 
is 'partial successful', there are still some stale store files of the removed 
family left under the region directory. And in SplitTableRegionProcedure and 
MergeTableRegionsProcedure, we will get all the store files by listing the file 
system, so we will also get the stale store files for the family which should 
have been removed already, and then causes NPE when we want to access the 
ColumnFamilyDescriptor.

Although it is not the common case that there are store files for removed 
families, but FWIW, I think we can do something to make our procedures more 
robust...

> SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store 
> files for unknown column families
> 
>
> Key: HBASE-22632
> URL: https://issues.apache.org/jira/browse/HBASE-22632
> Project: HBase
>  Issue Type: Bug
>  Components: proc-v2
>Reporter: Duo Zhang
>Priority: Major
>
> Hit this problem in our internal staging cluster. Not sure why, but probably, 
> there was a partial successful 'alter table' call that removed a family. As 
> it is 'partial successful', there are still some stale store files of the 
> removed family left under the region directory. And in 
> SplitTableRegionProcedure and MergeTableRegionsProcedure, we will get all the 
> store files by listing the file system, so we will also get the stale store 
> files for the family which should have been removed already, and then causes 
> NPE when we want to access the ColumnFamilyDescriptor.
> Although it is not the common case that there are store files for removed 
> families, but FWIW, I think we can do something to make our procedures more 
> robust...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)