You could refer to the header file: “src/main/native/libhdfs/hdfs.h”, you could
get the APIs in detail.
Regards,
Yi Liu
From: Demai Ni [mailto:nid...@gmail.com]
Sent: Thursday, September 04, 2014 5:21 AM
To: user@hadoop.apache.org
Subject: question about matching java API with libHDFS
hi,
hi, Yi A,
Thanks for your response. I took a look at hdfs.h and hdfs.c, it seems the
lib only exposes some of APIs, as there are a lot of other public methods
can be accessed through java API/client, but not implemented in libhdfs,
such as the one I am using now: DFSclient.getNamenode().