hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14015) Allow setting a richer state value when toString a pv2
Date Fri, 03 Jul 2015 00:10:04 GMT
stack created HBASE-14015:
-----------------------------

             Summary: Allow setting a richer state value when toString a pv2
                 Key: HBASE-14015
                 URL: https://issues.apache.org/jira/browse/HBASE-14015
             Project: HBase
          Issue Type: Improvement
          Components: proc-v2
            Reporter: stack
            Assignee: stack
            Priority: Minor


Debugging, my procedure after a crash was loaded out of the store and its state was RUNNING.
It would help if I knew in which of the states of a StateMachineProcedure it was going to
start RUNNING at.

Chatting w/ Matteo, he suggested allowing Procedures customize the String.

Here is patch that makes it so StateMachineProcedure will now print out the base state --
RUNNING, FINISHED -- followed by a ':' and then the StateMachineProcedure state: e.g. SimpleStateMachineProcedure
state=RUNNABLE:SERVER_CRASH_ASSIGN



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message