HBASE-2025 0.20.2 accessed from older client throws

UndeclaredThrowableException; frustrates rolling upgrade


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894739 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-12-30 23:27:49 +00:00
parent dfd0303cd7
commit bd3e171467
2 changed files with 6 additions and 0 deletions

View File

@ -265,6 +265,8 @@ Release 0.21.0 - Unreleased
HBASE-2074 Improvements to the hadoop-config script (Bassam Tabbara via Stack)
HBASE-2076 Many javadoc warnings
HBASE-2068 MetricsRate is missing "registry" parameter (Lars George via JD)
HBASE-2025 0.20.2 accessed from older client throws
UndeclaredThrowableException; frustrates rolling upgrade
NEW FEATURES
HBASE-1901 "General" partitioner for "hbase-48" bulk (behind the api, write

View File

@ -639,6 +639,10 @@ public class HBaseRPC {
public Writable call(Writable param, long receivedTime) throws IOException {
try {
Invocation call = (Invocation)param;
if(call.getMethodName() == null) {
throw new IOException("Could not find requested method, the usual " +
"cause is a version mismatch between client and server.");
}
if (verbose) log("Call: " + call);
Method method =
implementation.getMethod(call.getMethodName(),