[ 
https://issues.apache.org/jira/browse/HBASE-17942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756403#comment-16756403
 ] 

Nihal Jain commented on HBASE-17942:
------------------------------------

bq. Add table name to the log and exception message in split/merge procedure?
This is what is logged, I don't think we need to print table name explicitly. 
WDYT?

{{MergeTableRegionsProcedure}}
{noformat}
2019-01-31 00:04:31,742 WARN  [PEWorker-16] 
assignment.MergeTableRegionsProcedure(528): Merge is disabled for the table! 
Skipping merge of [{ENCODED => 80e181ad53cfa368fce8f000b52471e8, NAME => 
'testTableMergeSwitch,,1548873260919.80e181ad53cfa368fce8f000b52471e8.', 
STARTKEY => '', ENDKEY => '\x00\x00\x00\x03'}, {ENCODED => 
349581219b9b3dd1063e0f2786da6689, NAME => 
'testTableMergeSwitch,\x00\x00\x00\x03,1548873260919.349581219b9b3dd1063e0f2786da6689.',
 STARTKEY => '\x00\x00\x00\x03', ENDKEY => ''}]
{noformat}

{{SplitTableRegionProcedure}}
{noformat}
2019-01-31 00:04:36,315 WARN  [PEWorker-9] 
assignment.SplitTableRegionProcedure(508): pid=38, split is disabled for the 
table! Skipping split of {ENCODED => cce5a0df3fa0348a5f58e878b627fdc9, NAME => 
'testTableSplitSwitchForPreSplittedTable,,1548873274571.cce5a0df3fa0348a5f58e878b627fdc9.',
 STARTKEY => '', ENDKEY => '\x00\x00\x00\x0A'}
{noformat}



> Disable region splits and merges per table
> ------------------------------------------
>
>                 Key: HBASE-17942
>                 URL: https://issues.apache.org/jira/browse/HBASE-17942
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vladimir Rodionov
>            Assignee: Nihal Jain
>            Priority: Major
>         Attachments: HBASE-17942.master.001.patch, 
> HBASE-17942.master.002.patch
>
>
> Snapshot of a large tables usually fails when region split/merge happens 
> during snapshot. HBASE-15128 has introduced enable/disable switch for split 
> /merges, but only cluster - wide which is not always good in a large 
> deployments. The new feature will improve snapshot stability ands performance 
> for a single table.



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

Reply via email to