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

Viraj Jasani updated PHOENIX-7700:
----------------------------------
    Description: 
As part of any ALTER TABLE DDL statement execution, two configs determine the 
retry policy while awaiting response from HBase modifyTable operation:
 * phoenix.schema.change.retries
 * phoenix.schema.change.delay

The default values for "phoenix.schema.change.delay" is 5 sec and for 
"phoenix.schema.change.retries" is 10. In majority cases, HBase procedures take 
less than a second to complete, therefore awaiting for 5 sec is not helpful.

We should change the default values of delay to 1 sec and retries to 50 to keep 
default overall 50sec of wait time before throwing TimeoutException.

Thanks for finding the bug [~dmanning]!

  was:
As part of any ALTER TABLE DDL statement execution, two configs determine the 
retry policy while awaiting response from HBase modifyTable operation:
 * 
phoenix.schema.change.retries
 * 
phoenix.schema.change.delay

The default values for "phoenix.schema.change.delay" is 5 sec and for 
"phoenix.schema.change.retries" is 10. In majority cases, HBase procedures take 
less than a second to complete, therefore awaiting for 5 sec is not helpful.

We should change the default values of delay to 1 sec and retries to 50 to keep 
default overall 50sec of wait time before throwing TimeoutException.


> Update default values for schema change retry policy
> ----------------------------------------------------
>
>                 Key: PHOENIX-7700
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7700
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>
> As part of any ALTER TABLE DDL statement execution, two configs determine the 
> retry policy while awaiting response from HBase modifyTable operation:
>  * phoenix.schema.change.retries
>  * phoenix.schema.change.delay
> The default values for "phoenix.schema.change.delay" is 5 sec and for 
> "phoenix.schema.change.retries" is 10. In majority cases, HBase procedures 
> take less than a second to complete, therefore awaiting for 5 sec is not 
> helpful.
> We should change the default values of delay to 1 sec and retries to 50 to 
> keep default overall 50sec of wait time before throwing TimeoutException.
> Thanks for finding the bug [~dmanning]!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to