[ https://issues.apache.org/jira/browse/HDFS-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337449#comment-14337449 ]
Xiaoyu Yao commented on HDFS-7360: ---------------------------------- [~wangzw], Thanks for the work to make libhdfs build with maven. I tried the patches with the mvn commnd executed form /hadoop/hadoop-hdfs-project/hadoop-hfs/ above, but it failed because CMakeLists does not allow build project in the source directory. [exec] CMake Error at contrib/libhdfs3/CMakeLists.txt:26 (MESSAGE): [exec] cannot build the project in the source directory! Out-of-source build is [exec] enforced! [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project hadoop-hdfs: An Ant BuildException has occured: exec returned: 1 [ERROR] around Ant part ...<exec dir="/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native" executable="cmake" failonerror="true">... @ 5:132 in /hadoop/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml > Test libhdfs3 against MiniDFSCluster > ------------------------------------ > > Key: HDFS-7360 > URL: https://issues.apache.org/jira/browse/HDFS-7360 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: Haohui Mai > Assignee: Zhanwei Wang > Priority: Critical > Attachments: HDFS-7360-pnative.002.patch, HDFS-7360.patch > > > Currently the branch has enough code to interact with HDFS servers. We should > test the code against MiniDFSCluster to ensure the correctness of the code. -- This message was sent by Atlassian JIRA (v6.3.4#6332)