hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11103) Clean up RemoteException
Date Tue, 19 May 2015 15:17:08 GMT

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

Hudson commented on HADOOP-11103:
---------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #200 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/200/])
HADOOP-11103. Clean up RemoteException (Contributed by Sean Busbey) (vinayakumarb: rev d4a2830b63f0819979b592f4ea6ea3abd5885b71)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RemoteException.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestHASafeMode.java


> Clean up RemoteException
> ------------------------
>
>                 Key: HADOOP-11103
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11103
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Trivial
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-11103.1.patch, HADOOP-11103.2.patch
>
>
> RemoteException has a number of undocumented behaviors
> * o.a.h.ipc.RemoteException has no javadocs on getClassName. Reading the source, the
String returned is the classname of the wrapped remote exception.
> * RemoteException(String, String) is equivalent to calling RemoteException(String, String,
null)
> * Constructors allow null for all arguments
> * Some of the test code doesn't check for correct error codes to correspond with the
wrapped exception type
> * methods don't document when they might return null



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

Mime
View raw message