how to fix the maven build error on tez-dag stage?

40 views Asked by At

when I build the tez source code, the error occured on tez-dag stage(as the picture below). please tell me what happended and how to solve it? error msg

1

There are 1 answers

1
Andrés S. Sanguino On BEST ANSWER

Within the POM.xml file related to the tez-dag dependency, you can see there is an execution of a maven-antrun-plugin plugin, with no version defined.

If your installed plugin version is prior to the 3.0.0 (as it can be seen in the documentation), your compilation will be fine. But if not, you have to replace the tag <tasks> by <target>, like this:

  ...
  <configuration>
    <target>
      <delete dir="${test.log.dir}" />
      <mkdir dir="${test.log.dir}" />
    </target>
  </configuration>
  ...