Formula for libhdfs