You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 03:46:31 UTC

[jira] [Created] (HADOOP-7921) StandbyException should extend IOException

StandbyException should extend IOException
------------------------------------------

                 Key: HADOOP-7921
                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: ha
    Affects Versions: HA Branch (HDFS-1623)
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or make StandbyException extend from IOException. The latter is much simpler and less probability of it being a breaking change.

--
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

        

[jira] [Resolved] (HADOOP-7921) StandbyException should extend IOException

Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HADOOP-7921.
---------------------------------

       Resolution: Fixed
    Fix Version/s: HA Branch (HDFS-1623)
     Hadoop Flags: Reviewed

Committed to branch, thanks atm
                
> StandbyException should extend IOException
> ------------------------------------------
>
>                 Key: HADOOP-7921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: HA Branch (HDFS-1623)
>
>         Attachments: hadoop-7921.txt
>
>
> In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or make StandbyException extend from IOException. The latter is much simpler and less probability of it being a breaking change.

--
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

        

[jira] [Updated] (HADOOP-7921) StandbyException should extend IOException

Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7921:
--------------------------------

    Attachment: hadoop-7921.txt

Trivial patch
                
> StandbyException should extend IOException
> ------------------------------------------
>
>                 Key: HADOOP-7921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-7921.txt
>
>
> In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or make StandbyException extend from IOException. The latter is much simpler and less probability of it being a breaking change.

--
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

        

[jira] [Commented] (HADOOP-7921) StandbyException should extend IOException

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169155#comment-13169155 ] 

Aaron T. Myers commented on HADOOP-7921:
----------------------------------------

+1, the patch looks good to me.
                
> StandbyException should extend IOException
> ------------------------------------------
>
>                 Key: HADOOP-7921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-7921.txt
>
>
> In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or make StandbyException extend from IOException. The latter is much simpler and less probability of it being a breaking change.

--
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

        

[jira] [Commented] (HADOOP-7921) StandbyException should extend IOException

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169552#comment-13169552 ] 

Hudson commented on HADOOP-7921:
--------------------------------

Integrated in Hadoop-Hdfs-HAbranch-build #16 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/16/])
    HADOOP-7921. StandbyException should extend IOException. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214093
Files : 
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/CHANGES.HDFS-1623.txt
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/StandbyException.java

                
> StandbyException should extend IOException
> ------------------------------------------
>
>                 Key: HADOOP-7921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: HA Branch (HDFS-1623)
>
>         Attachments: hadoop-7921.txt
>
>
> In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or make StandbyException extend from IOException. The latter is much simpler and less probability of it being a breaking change.

--
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