You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/02/16 13:14:07 UTC

[jira] [Commented] (AMBARI-20625) Hadoop QA javac warnings increase check is broken

    [ https://issues.apache.org/jira/browse/AMBARI-20625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367044#comment-16367044 ] 

Hudson commented on AMBARI-20625:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-20625. Hadoop QA javac warnings increase check is broken -- fix (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=50a41a8426686d7a904fb15926c5a4b95d335c17])
* (edit) dev-support/test-patch.sh


> Hadoop QA javac warnings increase check is broken
> -------------------------------------------------
>
>                 Key: AMBARI-20625
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20625
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-20625.patch
>
>
> The [test-patch.sh|https://github.com/apache/ambari/blob/trunk/dev-support/test-patch.sh] script run by Hadoop QA for the [Ambari-trunk-test-patch job|https://builds.apache.org/job/Ambari-trunk-test-patch/] checks if the patch increases the number of compiler warnings.
> This check is broken, because {{javac}} does not print warnings by default, and our POMs do not set {{-Xlint}}.  Currently the output only includes a sample of warnings, plus a hint to set {{-Xlint}}.
> {noformat}
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ImpersonatorSettingImpl.java: Some input files use or override a deprecated API.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/view/ImpersonatorSettingImpl.java: Recompile with -Xlint:deprecation for details.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java: Some input files use unchecked or unsafe operations.
> [INFO] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java: Recompile with -Xlint:unchecked for details.
> {noformat}
> https://builds.apache.org/job/Ambari-trunk-test-patch/11186/artifact/patch-work/trunkJavacWarnings.txt
> https://builds.apache.org/job/Ambari-trunk-test-patch/11186/artifact/patch-work/patchJavacWarnings.txt



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)