You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/03/07 19:07:45 UTC

[jira] [Commented] (HADOOP-10388) Pure native hadoop client

    [ https://issues.apache.org/jira/browse/HADOOP-10388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924128#comment-13924128 ] 

Colin Patrick McCabe commented on HADOOP-10388:
-----------------------------------------------

This seems like a good idea.  I would add another advantage to the list: a C or C++ library could make it easier to debug crashes than a JNI one.

One issue here is that we could be talking about a lot of code here.  I think we should decide on a coding style to use so that everyone can contribute and understand the code that others have written.  If C++, I would suggest the Google C++ style guide.  See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml

Pure C is also a viable choice, in which case I would recommend something more like the Linux kernel style guide (but with 4-space indent)

> Pure native hadoop client
> -------------------------
>
>                 Key: HADOOP-10388
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10388
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Binglin Chang
>
> A pure native hadoop client has following use case/advantages:
> 1.  writing Yarn applications using c++
> 2.  direct access to HDFS, without extra proxy overhead, comparing to web/nfs interface.
> 3.  wrap native library to support more languages, e.g. python
> 4.  lightweight, small footprint compare to several hundred MB of JDK and hadoop library with various dependencies.



--
This message was sent by Atlassian JIRA
(v6.2#6252)