[
https://issues.apache.org/jira/browse/HADOOP-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613162#action_12613162
]
Craig Macdonald commented on HADOOP-3264:
-----------------------------------------
I'm not particularly opinionated on either options. Could we rely on .so
versioning to flag incompatible API changes? I cant really comment on the
versioning of C APIs.
The current implemented methods in libhdfs that are related are
{code}
hdfsFileInfo *hdfsGetPathInfo(hdfsFS fs, const char* path);
char*** hdfsGetHosts(hdfsFS fs, const char* path,
tOffset start, tOffset length);
int hdfsSetReplication(hdfsFS fs, const char* path, int16_t replication);
{code}
so in a sense, we have both kinds of methods going on here.
Arun is the original libhdfs contributor, so perhaps he can comment on a
preferred API style?
C
> libhdfs does not provide permissions in API
> -------------------------------------------
>
> Key: HADOOP-3264
> URL: https://issues.apache.org/jira/browse/HADOOP-3264
> Project: Hadoop Core
> Issue Type: Improvement
> Components: libhdfs
> Affects Versions: 0.16.2
> Reporter: Craig Macdonald
> Attachments: libhdfs_permissions.v1.patch,
> libhdfs_permissions.v2.patch
>
>
> There is no support in libhdfs methods for obtaining or setting the
> permissions, owner or group-owner of files in hdfs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.