hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiaobin She <xiaobin...@gmail.com>
Subject how to create symbolic link in hdfs with c++ code or webhdfs interface?
Date Fri, 13 Dec 2013 09:57:25 GMT
I'm writting an c++ programme, and I need to deal with hdfs.

What I need is to create some file in hdfs and read the status of these

And I need to be able to create sym link in hdfs and need to know if an
file in hdfs is an sym link file or not.

According to what I have known, the c client lib of hdfs ( which is
libhdfs) does not support sym link.

And I have notice that there is an webhdfs interface for hdfs.

According to this page, it does support sym link.


But I have try this, and I got the following message.

not supported"}}

Does this means webhdfs does not support sym link too ?

So if this true, how can I create an sym link and get the status of this
file in c++ code?

thank you very much for your help.

View raw message