You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/08/26 01:54:45 UTC

[jira] [Commented] (AMBARI-12134) Update poms to target 1.7 JRE

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

Hudson commented on AMBARI-12134:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #422 (See [https://builds.apache.org/job/Ambari-branch-2.1/422/])
AMBARI-12134: Update poms to target 1.7 JRE (Jonathan Halterman via jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fcbd901cf3284f358c5ec8973416500df54991ee)
* ambari-server/src/test/java/org/apache/ambari/server/proxy/ProxyServiceTest.java
* ambari-metrics/ambari-metrics-kafka-sink/pom.xml
* contrib/views/hive/pom.xml
* ambari-project/pom.xml
* pom.xml
* ambari-shell/ambari-groovy-shell/pom.xml
* ambari-metrics/ambari-metrics-storm-sink/pom.xml
* ambari-server/pom.xml
* ambari-metrics/ambari-metrics-flume-sink/pom.xml
* ambari-metrics/pom.xml
* ambari-metrics/ambari-metrics-timelineservice/pom.xml


> 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-7.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 and test failures, depending on how you build the projects and what tools you use to work on them. Additionally, right now Ambari users will hit unexpected exceptions when they execute and 1.7 code (of which there is some in ambari-server) since the compilation target is currently 1.6.
> 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)