From b8c8b5bc274211b29be125e5463662795a363f84 Mon Sep 17 00:00:00 2001 From: John Zhuge Date: Tue, 31 Oct 2017 21:33:26 -0700 Subject: [PATCH] HDFS-12714. Hadoop 3 missing fix for HDFS-5169. Contributed by Joe McDonnell. --- .../hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c index 5b8bc7f0b8..55fef24379 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c @@ -2688,7 +2688,7 @@ static int translateZCRException(JNIEnv *env, jthrowable exc) ret = EPROTONOSUPPORT; goto done; } - ret = printExceptionAndFree(env, jthr, PRINT_EXC_ALL, + ret = printExceptionAndFree(env, exc, PRINT_EXC_ALL, "hadoopZeroCopyRead: ZeroCopyCursor#read failed"); done: free(className);