HDFS-12714. Hadoop 3 missing fix for HDFS-5169. Contributed by Joe McDonnell.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b8c8b5bc Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b8c8b5bc Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b8c8b5bc Branch: refs/heads/YARN-1011 Commit: b8c8b5bc274211b29be125e5463662795a363f84 Parents: 9367c25 Author: John Zhuge <jzh...@apache.org> Authored: Tue Oct 31 21:33:26 2017 -0700 Committer: John Zhuge <jzh...@apache.org> Committed: Tue Oct 31 22:44:16 2017 -0700 ---------------------------------------------------------------------- .../hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/b8c8b5bc/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c ---------------------------------------------------------------------- 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 5b8bc7f..55fef24 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); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org