[
https://issues.apache.org/jira/browse/HDFS-3917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453247#comment-13453247
]
Colin Patrick McCabe commented on HDFS-3917:
--------------------------------------------
Thanks for filing this-- it's definitely a good idea.
I think there's two main places where we'll need to change stuff:
* rather than using JNI and the {{Configuration}} class to determine the
defaults in the XML files, we should read them ourselves (but it's a little
tricky, because we need to read them in the correct order)
* we should implement {{hdfsCopy}} and {{hdfsMove}} inside libwebhdfs, as
recursive copies, rather than using JNI and calling into {{IOUtil}}
> Remove JNI code from libwebhdfs (C client library)
> --------------------------------------------------
>
> Key: HDFS-3917
> URL: https://issues.apache.org/jira/browse/HDFS-3917
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jing Zhao
> Assignee: Jing Zhao
>
> The current implementation of libwebhdfs (C client library) uses JNI for
> loading NameNode configuration and implementing hdfsCopy/hdfsMove. We need to
> implement the same functionalities in libwebhdfs without using JNI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira