hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7010) boot up libhdfs3 project
Date Mon, 15 Sep 2014 18:36:34 GMT

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

Colin Patrick McCabe commented on HDFS-7010:
--------------------------------------------

bq. The source code in gtest and gmock directories are using google license. Do you think
it is better to keep them unchanged and put the google license file in that directories? I
missed the license header in CMake files, thank you for pointing out.

We can't change the license for the gtest and gmock libraries -- they are released by Google.
 So their headers should remain unchanged.

bq. GNU GCC recognises all of the following as C++ files, and will use C++ compilation regardless
of whether invoke it through gcc or g+: .C, .cc, .cpp, .CPP, .c+, .cp, or .cxx. It is mainly
a matter of taste I think. Do you think we can get many benefit from changing it? Changing
filename extension will break the fault injection and many other tests in our team because
our test framework records the filename in database and even in test case. I do not think
it is worthy just for aligning with other code in HDFS.

We need to have a consistent coding style in the project, and part of that is having a consistent
naming convention.  Sorry, but please change it to .cc like the other code.

bq. Boost is needed if the GCC version is older than 4.6. After fixing HDFS-7022, we can support
older version GCC without Boost. Maybe we can write more description about it. libxml2 will
be changed into libexpat in HDFS-7023.

I am fine with fixing these in follow-up JIRAs if it's more convenient.

> boot up libhdfs3 project
> ------------------------
>
>                 Key: HDFS-7010
>                 URL: https://issues.apache.org/jira/browse/HDFS-7010
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Zhanwei Wang
>         Attachments: HDFS-7010.patch
>
>
> boot up libhdfs3 project with CMake, Readme and license file.
> Integrate google mock and google test



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message