hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14015) Allow setting a richer state value when toString a pv2
Date Sat, 04 Jul 2015 12:07:07 GMT

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

Hudson commented on HBASE-14015:
--------------------------------

FAILURE: Integrated in HBase-1.2 #49 (See [https://builds.apache.org/job/HBase-1.2/49/])
HBASE-14015 Allow setting a richer state value when toString a pv2 (stack: rev 61b2694359d1841d728c273c88e4a8c4161bf599)
* hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
* hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java
* hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureToString.java
HBASE-14015 Allow setting a richer state value when toString a pv2 -- ADDENDUM on branch-1
and derivatives (stack: rev bf4d4effce0cd1f96cdee401e7987b9fa4ee1973)
* hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureToString.java


> 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
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>
>         Attachments: 0001-HBASE-14015-Allow-setting-a-richer-state-value-when-.patch,
14015.addendum.to.fix.compile.issue.on.branch-1.branch-1.2.txt
>
>
> 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