diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h index 7e45634d4e0..7324dc7c1bb 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h @@ -896,6 +896,15 @@ extern "C" { LIBHDFS_EXTERNAL tOffset hdfsGetUsed(hdfsFS fs); + + /** + * hdfsGetRemaining - Return the remaining capacity of the filesystem. + * @param fs The configured filesystem handle. + * @return Returns the remaining-capacity; -1 on error. + */ + LIBHDFS_EXTERNAL + tOffset hdfsGetRemaining(hdfsFS fs); + /** * Change the user and/or group of a file or directory. *