ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20625) Hadoop QA javac warnings increase check is broken
Date Thu, 30 Mar 2017 13:27:41 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila updated AMBARI-20625:
---------------------------------------
    Attachment: AMBARI-20625.patch

> 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
>             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
(v6.3.15#6346)

Mime
View raw message