Have created Jenkins jobs for common, hdfs and mapreduce components against Java8.
FYI On Mon, Nov 10, 2014 at 4:24 PM, Ted Yu <[email protected]> wrote: > 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 <[email protected]> > wrote: > >> Good idea, we should probably have such a build anyway. >> >> Thanks, >> Andrew >> >> On Mon, Nov 10, 2014 at 1:24 PM, Ted Yu <[email protected]> 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 Mon, Nov 10, 2014 at 12:54 PM, Chen He <[email protected]> wrote: >> > >> > > 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 < >> [email protected]> >> > > wrote: >> > > >> > > > 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 <[email protected]> >> wrote: >> > > > >> > > > > Thanks, Ted Yu. I will create a JIRA for it. I find a way to fix >> it. >> > > > > >> > > > > On Mon, Nov 10, 2014 at 11:50 AM, Ted Yu <[email protected]> >> > wrote: >> > > > > >> > > > > > 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 <[email protected]> >> > wrote: >> > > > > > >> > > > > > > "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 >> > > > > > > >> > > > > > > [INFO] >> > > > > > > >> > > > > >> > > >> ------------------------------------------------------------------------ >> > > > > > > >> > > > > > > [ERROR] Failed to execute goal >> > > > > > > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar >> > > > > (module-javadocs) >> > > > > > > on project hadoop-maven-plugins: MavenReportException: Error >> > while >> > > > > > creating >> > > > > > > archive: >> > > > > > > >> > > > > > > [ERROR] Exit code: 1 - >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> ./hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/Exec.java:45: >> > > > > > > error: unknown tag: String >> > > > > > > >> > > > > > > [ERROR] * @param command List<String> containing command and >> all >> > > > > > arguments >> > > > > > > >> > > > > > > [ERROR] ^ >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> ./develop/hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/Exec.java:46: >> > > > > > > error: unknown tag: String >> > > > > > > >> > > > > > > [ERROR] * @param output List<String> in/out parameter to >> receive >> > > > > command >> > > > > > > output >> > > > > > > >> > > > > > > [ERROR] ^ >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> ./hadoop/hadoop/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/util/FileSetUtils.java:50: >> > > > > > > error: unknown tag: File >> > > > > > > >> > > > > > > [ERROR] * @return List<File> containing every element of the >> > > FileSet >> > > > > as a >> > > > > > > File >> > > > > > > >> > > > > > > [ERROR] ^ >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > [ERROR] Command line was: >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javadoc >> > > > > > > -J-Dhttp.proxySet=true -J-Dhttp.proxyHost= >> > www-proxy.us.oracle.com >> > > > > > > -J-Dhttp.proxyPort=80 @options @packages >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > [ERROR] Refer to the generated Javadoc files in >> > > > > > > './hadoop/hadoop/hadoop-maven-plugins/target' dir. >> > > > > > > >> > > > > > > [ERROR] -> [Help 1] >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > [ERROR] To see the full stack trace of the errors, re-run >> Maven >> > > with >> > > > > the >> > > > > > -e >> > > > > > > switch. >> > > > > > > >> > > > > > > [ERROR] Re-run Maven using the -X switch to enable full debug >> > > > logging. >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > [ERROR] For more information about the errors and possible >> > > solutions, >> > > > > > > please read the following articles: >> > > > > > > >> > > > > > > [ERROR] [Help 1] >> > > > > > > >> > > > > >> > > >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> > > > > > > >> > > > > > > [ERROR] >> > > > > > > >> > > > > > > [ERROR] After correcting the problems, you can resume the >> build >> > > with >> > > > > the >> > > > > > > command >> > > > > > > >> > > > > > > [ERROR] mvn <goals> -rf :hadoop-maven-plugins >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> > >
