[
https://issues.apache.org/jira/browse/HADOOP-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019090#comment-14019090
]
Colin Patrick McCabe commented on HADOOP-10640:
-----------------------------------------------
bq. /root/hadoop-common/hadoop-native-core/src/main/native/ndfs/ndfs.c:315:
warning: ‘defaults.blocksize’ may be used uninitialized in this function
It's a spurious warning, since {{ndfs_get_server_defaults}} will either return
an error or set {{defaults.blocksize}}. But I'll add a {{memset}} to avoid it.
This will also make things cleaner if we add more elements to the defaults
structure in the future.
bq. #if defined(unix) || defined(__MACH__)
Hmm. I thought that {{unix}} would be defined on MacOS. I guess not. I will
add this-- thanks.
> Implement Namenode RPCs in HDFS native client
> ---------------------------------------------
>
> Key: HADOOP-10640
> URL: https://issues.apache.org/jira/browse/HADOOP-10640
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: native
> Affects Versions: HADOOP-10388
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10640-pnative.001.patch,
> HADOOP-10640-pnative.002.patch, HADOOP-10640-pnative.003.patch
>
>
> Implement the parts of libhdfs that just involve making RPCs to the Namenode,
> such as mkdir, rename, etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)