From 816042e62bf472a58d9f6dbce1123e9af6d06fb0 Mon Sep 17 00:00:00 2001 From: Aryan Gupta <44232823+aryangupta1998@users.noreply.github.com> Date: Wed, 29 Apr 2020 09:19:59 +0530 Subject: [PATCH] HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.(#1980) --- .../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 220208676e..840e5b2da0 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 @@ -3409,7 +3409,7 @@ tOffset hdfsGetUsed(hdfsFS fs) } fss = (jobject)jVal.l; jthr = invokeMethod(env, &jVal, INSTANCE, fss, JC_FS_STATUS, - HADOOP_FSSTATUS,"getUsed", "()J"); + "getUsed", "()J"); destroyLocalReference(env, fss); if (jthr) { errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,