Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Chen He
mvn package -Pdist -Dtar -DskipTests reports following error based on latest trunk: [INFO] BUILD FAILURE [INFO] [INFO] Total time: 11.010 s [INFO] Finished at: 2014-11-10T11:23:49-08:00 [INFO] Final Memory: 51M/555M

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Ted Yu
I can reproduce this. Tried what was suggested here: http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete Though it doesn't seem to work. On Mon, Nov 10, 2014 at 11:32 AM, Chen He airb...@gmail.com wrote: mvn package -Pdist -Dtar

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Andrew Wang
I think Andrew Purtell had some patches to clean up javadoc errors for JDK8, might be worth asking him before diving in yourself. On Mon, Nov 10, 2014 at 12:04 PM, Chen He airb...@gmail.com wrote: Thanks, Ted Yu. I will create a JIRA for it. I find a way to fix it. On Mon, Nov 10, 2014 at

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Chen He
Invite Andrew Purtell to HADOOP-11292, My fix is just disable the doclint in hadoop project. Then, we can still keep current docs without change. On Mon, Nov 10, 2014 at 12:51 PM, Andrew Wang andrew.w...@cloudera.com wrote: I think Andrew Purtell had some patches to clean up javadoc errors for

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Ted Yu
Should there be a Jenkins job building trunk branch against Java 1.8 after the fix goes in ? That way we can easily see any regression. Cheers On Mon, Nov 10, 2014 at 12:54 PM, Chen He airb...@gmail.com wrote: Invite Andrew Purtell to HADOOP-11292, My fix is just disable the doclint in

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Andrew Wang
Good idea, we should probably have such a build anyway. Thanks, Andrew On Mon, Nov 10, 2014 at 1:24 PM, Ted Yu yuzhih...@gmail.com wrote: Should there be a Jenkins job building trunk branch against Java 1.8 after the fix goes in ? That way we can easily see any regression. Cheers On

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Ted Yu
Created Hadoop-Yarn-trunk-Java8 and triggered a build. Can create Jenkins builds for other projects later. Cheers On Mon, Nov 10, 2014 at 1:26 PM, Andrew Wang andrew.w...@cloudera.com wrote: Good idea, we should probably have such a build anyway. Thanks, Andrew On Mon, Nov 10, 2014 at

Re: Hadoop maven packaging does not work on JAVA 1.8?

2014-11-10 Thread Ted Yu
Have created Jenkins jobs for common, hdfs and mapreduce components against Java8. FYI On Mon, Nov 10, 2014 at 4:24 PM, Ted Yu yuzhih...@gmail.com wrote: Created Hadoop-Yarn-trunk-Java8 and triggered a build. Can create Jenkins builds for other projects later. Cheers On Mon, Nov 10, 2014