You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/04/03 18:26:42 UTC
[jira] [Updated] (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:all-tabpanel ]
Doroszlai, Attila updated AMBARI-20625:
---------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed to [trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/8f95262d].
> 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)