[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-17 Thread Umesh Agashe (JIRA)

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

Umesh Agashe updated HBASE-18018:
-
Release Note: The default behavior for abort() method of 
StateMachineProcedure class is changed to support aborting all procedures 
irrespective of if procedure supports rollback or not.

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch, HBASE-18018.master.001.patch, 
> HBASE-18018.master.002.patch, HBASE-18018.master.003.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-16 Thread stack (JIRA)

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

stack updated HBASE-18018:
--
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Pushed. This is better default. Add a release note [~uagashe] when you have a 
sec. Thanks for the patch.

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch, HBASE-18018.master.001.patch, 
> HBASE-18018.master.002.patch, HBASE-18018.master.003.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-12 Thread Umesh Agashe (JIRA)

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

Umesh Agashe updated HBASE-18018:
-
Attachment: HBASE-18018.master.003.patch

Retained the current behavior for DeleteTableProcedure and added TODO.

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch, HBASE-18018.master.001.patch, 
> HBASE-18018.master.002.patch, HBASE-18018.master.003.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-12 Thread Umesh Agashe (JIRA)

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

Umesh Agashe updated HBASE-18018:
-
Attachment: HBASE-18018.master.002.patch

Fixed unit test master.procedure.TestProcedureAdmin.testAbortProcedureFailure 
by overriding abort() in DeleteTableProcedure.


> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch, HBASE-18018.master.001.patch, 
> HBASE-18018.master.002.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-11 Thread stack (JIRA)

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

stack updated HBASE-18018:
--
Attachment: HBASE-18018.master.001.patch

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch, HBASE-18018.master.001.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-10 Thread Umesh Agashe (JIRA)

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

Umesh Agashe updated HBASE-18018:
-
Status: Patch Available  (was: In Progress)

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18018) Support abort for all procedures by default

2017-05-10 Thread Umesh Agashe (JIRA)

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

Umesh Agashe updated HBASE-18018:
-
Attachment: HBASE-18018.001.patch

Change the default behavior of abort for StateMachineProcedure.

> Support abort for all procedures by default
> ---
>
> Key: HBASE-18018
> URL: https://issues.apache.org/jira/browse/HBASE-18018
> Project: HBase
>  Issue Type: Sub-task
>  Components: proc-v2
>Reporter: Umesh Agashe
>Assignee: Umesh Agashe
> Fix For: 2.0.0
>
> Attachments: HBASE-18018.001.patch
>
>
> Changes the default behavior of StateMachineProcedure to support aborting all 
> procedures even if rollback is not supported. On abort, procedure is treated 
> as failed and rollback is called but for procedures which cannot be rolled 
> back abort is ignored currently. This sometime causes procedure to get stuck 
> in waiting state forever. User should have an option to abort any stuck 
> procedure and clean up manually. Please refer to HBASE-18016 and discussion 
> there.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)