[
https://issues.apache.org/jira/browse/HDFS-13338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410956#comment-16410956
]
James Clampffer commented on HDFS-13338:
----------------------------------------
Hi [~tasanuma0829], what platform are you building on? Any chance it doesn't a
relatively recent version of CMake installed?
{code}
mvn --projects hadoop-hdfs-project/hadoop-hdfs-native-client clean package
-Pdist,native -DskipTests -Dtar
{code}
That works fine for me when running inside the docker container that
./start-build-env.sh spins up.
> Native Build failed in hadoop-hdfs-native-client
> ------------------------------------------------
>
> Key: HDFS-13338
> URL: https://issues.apache.org/jira/browse/HDFS-13338
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build, native
> Reporter: Takanobu Asanuma
> Priority: Critical
>
> mvn --projects hadoop-hdfs-project/hadoop-hdfs-native-client clean package
> -Pdist,native -DskipTests -Dtar
> {noformat}
> [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 failonerror="true"
> dir="/.../hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target"
> executable="cmake">... @ 5:119 in
> /.../hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: 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
> around Ant part ...<exec failonerror="true"
> dir="/root/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target"
> executable="cmake">... @ 5:119 in
> /root/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/antrun/build-main.xml
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:213)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]