It's easy to reproduce:
The build will fail. I tried it on OSX (2 different ones).
ERROR] javadoc: error - Java heap space
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/../bin/javadoc -J-Xmx512m @options @packages
Attaching trivial patch which increases the max heap size of javadoc plugin.
This message was automatically generated.
FWIW, it worked without any changes for me on Linux. I'll let some Mac users comment.
On my MacBook the javadoc build indeed fails without Andras Bokor's patch with OutOfMemoryError. With the patch it succeeds.
Seems innocuous enough to me. Let's get this in, thanks for contributing this Andras!
Thanks for the contribution Andras! Committed to trunk and branch-2.
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12083 (See https://builds.apache.org/job/Hadoop-trunk-Commit/12083/)
HADOOP-14644. Increase max heap size of Maven javadoc plugin. (wang: rev 2be9412b73ae4308c5cee0186520fc2ad6d54e43)