You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/10/18 13:31:47 UTC

[GitHub] [hadoop] iwasakims opened a new pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

iwasakims opened a new pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562


   https://issues.apache.org/jira/browse/HADOOP-17965
   
   `mvn site` by JDK 7 fails due to error related to spotbugs which does not support Java 7.
   
   ```
   $ ./start-build-env.sh
   ubuntu@2a660195e110:~/hadoop$ mvn clean install -DskipTests
   ubuntu@2a660195e110:~/hadoop$ mvn site
   ...(snip)
   [INFO] Apache Hadoop YARN Site ............................ SUCCESS [  2.138 s]
   [INFO] Apache Hadoop YARN UI .............................. SUCCESS [  0.044 s]
   [INFO] Apache Hadoop YARN Project ......................... FAILURE [  0.700 s]
   ...(snip)
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.5:site (default-site) on project hadoop-yarn-project: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.5:site failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:3.5:site: java.lang.UnsupportedClassVersionError: org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo : Unsupported major.minor version 52.0
   ```
   
   Since we are using JDK 7 in the Dockerfile, dev-support/bin/create-release is affected too.
   
   The cause is obsolete <reporting> entries of pom.xml for already resolved [MSITE-443](https://issues.apache.org/jira/browse/MSITE-443).
   
   We can safely remove the <reporting> entry. `mvn site` generates same contents without the entry. spotbugsXml.xml are generated regardless of it (on `mvn compile spotbugs:spotbugs` using JDK 8).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] iwasakims commented on pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562#issuecomment-946336668


   The asflicense warnings and test failures are not related to the patch. I could not reproduce the test failures on my local.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] iwasakims merged pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

Posted by GitBox <gi...@apache.org>.
iwasakims merged pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] hadoop-yetus commented on pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

Posted by GitBox <gi...@apache.org>.
hadoop-yetus commented on pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562#issuecomment-946087975


   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |:----:|----------:|--------:|:--------|
   | +0 :ok: |  reexec  |   1m 12s |  Docker mode activated.  |
   ||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  No case conflicting files found.  |
   | +1 :green_heart: |  @author  |   0m  0s |  The patch does not contain any @author tags.  |
   | -1 :x: |  test4tests  |   0m  0s |  The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.  |
   ||| _ branch-2.10 Compile Tests _ |
   | +0 :ok: |  mvndep  |   2m 21s |  Maven dependency ordering for branch  |
   | +1 :green_heart: |  mvninstall  |  12m 31s |  branch-2.10 passed  |
   | +1 :green_heart: |  compile  |  13m  2s |  branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10  |
   | +1 :green_heart: |  compile  |  10m 42s |  branch-2.10 passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10  |
   | +1 :green_heart: |  mvnsite  |   5m 42s |  branch-2.10 passed  |
   | +1 :green_heart: |  javadoc  |   3m 38s |  branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10  |
   | +1 :green_heart: |  javadoc  |   2m 54s |  branch-2.10 passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10  |
   ||| _ Patch Compile Tests _ |
   | +0 :ok: |  mvndep  |   0m 22s |  Maven dependency ordering for patch  |
   | +1 :green_heart: |  mvninstall  |   5m 33s |  the patch passed  |
   | +1 :green_heart: |  compile  |  14m 59s |  the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10  |
   | +1 :green_heart: |  javac  |  14m 59s |  the patch passed  |
   | +1 :green_heart: |  compile  |  11m 27s |  the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10  |
   | +1 :green_heart: |  javac  |  11m 27s |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   5m 37s |  the patch passed  |
   | +1 :green_heart: |  whitespace  |   0m  0s |  The patch has no whitespace issues.  |
   | +1 :green_heart: |  xml  |   0m  3s |  The patch has no ill-formed XML file.  |
   | +1 :green_heart: |  javadoc  |   3m 43s |  the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10  |
   | +1 :green_heart: |  javadoc  |   2m 44s |  the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10  |
   ||| _ Other Tests _ |
   | -1 :x: |  unit  | 106m 13s |  hadoop-yarn-project in the patch failed.  |
   | -1 :x: |  unit  | 139m 37s |  hadoop-mapreduce-project in the patch failed.  |
   | -1 :x: |  asflicense  |   0m 58s |  The patch generated 1 ASF License warnings.  |
   |  |   | 347m 16s |   |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/artifact/out/Dockerfile |
   | GITHUB PR | https://github.com/apache/hadoop/pull/3562 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml |
   | uname | Linux b3bb2d7bf561 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | branch-2.10 / b7bb43f |
   | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10 |
   | Multi-JDK versions | /usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10 |
   | unit | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/artifact/out/patch-unit-hadoop-yarn-project.txt |
   | unit | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/artifact/out/patch-unit-hadoop-mapreduce-project.txt |
   |  Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/testReport/ |
   | asflicense | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/artifact/out/patch-asflicense-problems.txt |
   | Max. process+thread count | 1222 (vs. ulimit of 5500) |
   | modules | C: hadoop-yarn-project hadoop-mapreduce-project U: . |
   | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3562/1/console |
   | versions | git=2.7.4 maven=3.3.9 |
   | Powered by | Apache Yetus 0.12.0 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] iwasakims commented on pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562#issuecomment-946514643


   Thanks, @aajisaka. I merged this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] iwasakims commented on pull request #3562: HADOOP-17965. Fix documentation build failure using JDK 7 on branch-2.10.

Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562#issuecomment-945822225


   `./dev-support/bin/create-release` invoking `mvn site` inside worked with the patch.
   
   ```
   $ ./dev-support/bin/create-release --docker --dockercache
   ...
   ****************************************************************************
                             Maven Build and Install
   ****************************************************************************
   
   
   $ /usr/bin/mvn -Dmaven.repo.local=/maven install -Pdist,src,yarn-ui -DskipTests -Dtar > /build/source/patchprocess/mvn_install.log 2>&1
   $ /usr/bin/mvn -Dmaven.repo.local=/maven install site site:stage -DskipTests -Pdist,src,releasedocs,docs > /build/source/patchprocess/mvn_site.log 2>&1
   ...
   Congratulations, you have successfully built the release
   artifacts for Apache Hadoop 2.10.2-SNAPSHOT
   
   The artifacts for this run are available at /home/ubuntu/srcs/hadoop/target/artifacts:
   $ ls -1 /home/ubuntu/srcs/hadoop/target/artifacts
   CHANGES.md
   RELEASENOTES.md
   hadoop-2.10.2-SNAPSHOT-rat.txt
   hadoop-2.10.2-SNAPSHOT-site.tar.gz
   hadoop-2.10.2-SNAPSHOT-src.tar.gz
   hadoop-2.10.2-SNAPSHOT.tar.gz
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org