[ https://issues.apache.org/jira/browse/AMBARI-12134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638047#comment-14638047 ]
Hadoop QA commented on AMBARI-12134: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12746650/AMBARI-12134-4.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in ambari-metrics/ambari-metrics-flume-sink ambari-metrics/ambari-metrics-kafka-sink ambari-metrics/ambari-metrics-storm-sink ambari-metrics/ambari-metrics-timelineservice ambari-server ambari-shell/ambari-groovy-shell contrib/views/hive: org.apache.ambari.server.checks.ServicesUpCheckTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3449//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3449//console This message is automatically generated. > Update poms to target 1.7 JRE > ----------------------------- > > Key: AMBARI-12134 > URL: https://issues.apache.org/jira/browse/AMBARI-12134 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: Jonathan Halterman > Assignee: Jayush Luniya > Fix For: 2.1.1 > > Attachments: AMBARI-12134-4.patch > > > The ambari parent pom is targeted towards Java 1.6 while ambari uses 1.7 > APIs. The ambari metrics pom is targeted at java 1.5 (by default) while > ambari-metrics uses 1.6 APIs. This causes basic compilation failures, > depending on how you build the projects and what tools you use to work on > them. AFAIK Ambari 2.1 and beyond are targeted at 1.7, so the Java versions > in the POMs should be updated to reflect this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)