Hadoop 2.4 Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7 Hadoop 2.4 Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7 hadoop hadoop

Hadoop 2.4 Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7


sudo apt-get install zlib1g-dev

sudo apt-get install libssl-dev


You need the support of the two libraries


Go to hadoop-common > target > native > CMakeFiles, check the error log CMakeError.log.

Is g++ installed?


Try the following:sudo apt-get install ant.It worked for me.