HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.(#1980)

This commit is contained in:
Aryan Gupta 2020-04-29 09:19:59 +05:30 committed by GitHub
parent 4202750040
commit 816042e62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3409,7 +3409,7 @@ tOffset hdfsGetUsed(hdfsFS fs)
} }
fss = (jobject)jVal.l; fss = (jobject)jVal.l;
jthr = invokeMethod(env, &jVal, INSTANCE, fss, JC_FS_STATUS, jthr = invokeMethod(env, &jVal, INSTANCE, fss, JC_FS_STATUS,
HADOOP_FSSTATUS,"getUsed", "()J"); "getUsed", "()J");
destroyLocalReference(env, fss); destroyLocalReference(env, fss);
if (jthr) { if (jthr) {
errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL, errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,