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

Eric Payne commented on HDFS-9170:
----------------------------------

{quote}
bq. I noticed the patch is not a simple move, it also bumped the minimum cmake 
version to 2.8. Could you explain why this was done?
I think it was a copy and paste error. I think it should work for 2.6. I'll 
open a separate jira to restore the change.
{quote}
I am sorry to report that compiling with cmake 2.6 fails on branch-2 now. I get 
the following error:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project 
hadoop-hdfs-native-client: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec 
dir="/hadoop/source/current/Hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target"
 executable="cmake" failonerror="true">... @ 5:136 in 
/hadoop/source/current/Hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/antrun/build-main.xml
{code}
Fortunately, upgrading to {{cmake.x86_64 2.8.12.2-4.el6}} fixed the problem.

> Move libhdfs / fuse-dfs / libwebhdfs to hdfs-client
> ---------------------------------------------------
>
>                 Key: HDFS-9170
>                 URL: https://issues.apache.org/jira/browse/HDFS-9170
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9170.000.patch, HDFS-9170.001.patch, 
> HDFS-9170.002.patch, HDFS-9170.003.patch, HDFS-9170.004.patch
>
>
> After HDFS-6200 the Java implementation of hdfs-client has be moved to a 
> separate hadoop-hdfs-client module.
> libhdfs, fuse-dfs and libwebhdfs still reside in the hadoop-hdfs module. 
> Ideally these modules should reside in the hadoop-hdfs-client. However, to 
> write unit tests for these components, it is often necessary to run 
> MiniDFSCluster which resides in the hadoop-hdfs module.
> This jira is to discuss how these native modules should layout after 
> HDFS-6200.



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

Reply via email to