From 252c3a158dc30dedbb09f6b846ba66bbfe0f426d Mon Sep 17 00:00:00 2001 From: Daniel Templeton Date: Mon, 5 Nov 2018 16:42:29 -0800 Subject: [PATCH] HDFS-14047. [libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c (Contributed by Antoli Shein via Daniel Templeton) Change-Id: Ia5546fd5f8270f285c373b9023a9bd9835059845 --- .../src/main/native/libhdfs/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c index dbaf1f645d8..bcbb851534d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c @@ -130,7 +130,7 @@ static char* getExceptionUtilString(JNIEnv *env, jthrowable exc, char *methodNam jstring jStr = NULL; char *excString = NULL; jthr = invokeMethod(env, &jVal, STATIC, NULL, - "org/apache/commons/lang/exception/ExceptionUtils", + "org/apache/commons/lang3/exception/ExceptionUtils", methodName, "(Ljava/lang/Throwable;)Ljava/lang/String;", exc); if (jthr) { destroyLocalReference(env, jthr);