HDFS-15301. statfs function in hdfs-fuse not working. Contributed by Aryan Gupta.(#1980)
This commit is contained in:
parent
4202750040
commit
816042e62b
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user