HDFS-14047. [libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c (Contributed by Antoli Shein via Daniel Templeton)
Change-Id: Ia5546fd5f8270f285c373b9023a9bd9835059845 Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/349168c4 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/349168c4 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/349168c4 Branch: refs/heads/HDDS-4 Commit: 349168c4b34275d768e35e52bd3790a809f674a2 Parents: ab6aa4c Author: Daniel Templeton <templ...@apache.org> Authored: Mon Nov 5 16:42:29 2018 -0800 Committer: Daniel Templeton <templ...@apache.org> Committed: Tue Nov 6 09:22:27 2018 -0800 ---------------------------------------------------------------------- .../hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/349168c4/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c ---------------------------------------------------------------------- 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 dbaf1f6..bcbb851 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); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org