hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6117) Revisit default condition added to Switch cases in Trunk
Date Tue, 03 Jul 2012 05:45:02 GMT

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

ramkrishna.s.vasudevan commented on HBASE-6117:
-----------------------------------------------

bq.Is the logging redundant Ram?
Yes, I can remove this.
bq.Are these states of SPLIT and SPLITTING legit here? Its ok to just break out?
Yes.  We are not trying to handle split related cases in TM.  The RS any way will keep tickling
the SPLIT to SPLITTING states so that the master takes action.
Thanks Stack.
                
> Revisit default condition added to Switch cases in Trunk
> --------------------------------------------------------
>
>                 Key: HBASE-6117
>                 URL: https://issues.apache.org/jira/browse/HBASE-6117
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6117.patch
>
>
> We found that in some cases the default case in switch block was just throwing illegalArg
Exception. There are cases where we may get some other state for which we should not throw
IllegalArgException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message